aboutsummaryrefslogtreecommitdiffstats
path: root/group_vars
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-09-05 12:31:24 +0200
committerbinary <me@rgoncalves.se>2020-09-05 12:31:24 +0200
commit9ca657fe79db4a19eb607df8384f2fa6f268fc11 (patch)
treea42ba7b5a42ef777a041a728853e35160a4d7bfb /group_vars
parent8ed85e6058bc23d70541f91c7ab1455226b88ee6 (diff)
downloadinfrastructure-9ca657fe79db4a19eb607df8384f2fa6f268fc11.tar.gz
Moved groups var to subdir
Diffstat (limited to 'group_vars')
-rw-r--r--group_vars/all43
-rw-r--r--group_vars/all/default.yml55
2 files changed, 55 insertions, 43 deletions
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"
+
remember that computers suck.