From 9ca657fe79db4a19eb607df8384f2fa6f268fc11 Mon Sep 17 00:00:00 2001 From: binary Date: Sat, 5 Sep 2020 12:31:24 +0200 Subject: Moved groups var to subdir --- group_vars/all | 43 ------------------------------------ group_vars/all/default.yml | 55 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 43 deletions(-) delete mode 100644 group_vars/all create mode 100644 group_vars/all/default.yml diff --git a/group_vars/all b/group_vars/all deleted file mode 100644 index dac1ada..0000000 --- a/group_vars/all +++ /dev/null @@ -1,43 +0,0 @@ - -# =========================================================================== # -# _ ______ ___________ -# | | / / __ `/ ___/ ___/ -# | |/ / /_/ / / (__ ) -# |___/\__,_/_/ /____(_) -# -# =========================================================================== # - - -# =========================================================================== # -# SYSTEMD VARIABLES -# =========================================================================== # - -g_systemd_unit_directory: /etc/systemd/system/ - - -# =========================================================================== # -# PORT VARIABLES -# =========================================================================== # - -g_port_ssh: 22 -g_port_http: 80 -g_port_https: 443 - -g_port_gitweb_gui: 16010 -g_port_mkdocs_gui: 16020 -g_port_syncthing_gui: 16030 -g_port_grafana_gui: 16090 -g_port_wireguard: 51100 -g_port_grafana: 51200 - -# =========================================================================== # -# IP VARIABLES -# =========================================================================== # - -g_ip_mkdocs_gui: 0.0.0.0 - -# =========================================================================== # -# LOGGING VARIABLES -# =========================================================================== # - -g_logging_directory: /var/REPLACEME diff --git a/group_vars/all/default.yml b/group_vars/all/default.yml new file mode 100644 index 0000000..7b70a72 --- /dev/null +++ b/group_vars/all/default.yml @@ -0,0 +1,55 @@ + +# =========================================================================== # +# _ ______ ___________ +# | | / / __ `/ ___/ ___/ +# | |/ / /_/ / / (__ ) +# |___/\__,_/_/ /____(_) +# +# =========================================================================== # + +- hosts: all + vars: + + # SYSTEMD VARIABLES + g_systemd_unit_directory: /etc/systemd/system/ + + # PORT VARIABLES + g_port_ssh: 22 + g_port_http: 80 + g_port_https: 443 + + g_port_gitweb_gui: 16010 + g_port_mkdocs_gui: 16020 + g_port_syncthing_gui: 16030 + g_port_grafana_gui: 16090 + g_port_wireguard: 51100 + g_port_grafana: 51200 + + # IP VARIABLES + g_ip_mkdocs_gui: 0.0.0.0 + + # LOGGING VARIABLES + g_logging_directory: /var/REPLACEME + + # PACKAGES + package_curl: "curl" + package_neovim: "neovim" + package_tmux: "tmux" + package_wget: "wget" + package_zsh: "zsh" + +- hosts: openbsd + vars: + group_root: "wheel" + path_zsh_bin: "/usr/local/bin/zsh" + +- hosts: centos + vars: + group_root: "root" + path_zsh_bin: "/bin/zsh" + +- hosts: debian + vars: + group_root: "root" + path_zsh_bin: "/bin/zsh" + -- cgit v1.2.3