aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--group_vars/all/default.ini28
-rw-r--r--group_vars/all/default.yml55
-rw-r--r--group_vars/all/groups.ini19
3 files changed, 47 insertions, 55 deletions
diff --git a/group_vars/all/default.ini b/group_vars/all/default.ini
new file mode 100644
index 0000000..5f4cd2c
--- /dev/null
+++ b/group_vars/all/default.ini
@@ -0,0 +1,28 @@
+# 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"
+
diff --git a/group_vars/all/default.yml b/group_vars/all/default.yml
deleted file mode 100644
index 7b70a72..0000000
--- a/group_vars/all/default.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# =========================================================================== #
-# _ ______ ___________
-# | | / / __ `/ ___/ ___/
-# | |/ / /_/ / / (__ )
-# |___/\__,_/_/ /____(_)
-#
-# =========================================================================== #
-
-- 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"
-
diff --git a/group_vars/all/groups.ini b/group_vars/all/groups.ini
new file mode 100644
index 0000000..d5e173a
--- /dev/null
+++ b/group_vars/all/groups.ini
@@ -0,0 +1,19 @@
+[servers:vars]
+package_curl="curl"
+package_neovim="neovim"
+package_tmux="tmux"
+package_wget="wget"
+package_zsh="zsh"
+
+[openbsd:vars]
+group_root="wheel"
+path_zsh_bin="/usr/local/bin/zsh"
+
+[centos:vars]
+group_root="root"
+path_zsh_bin="/bin/zsh"
+
+[debian:vars]
+group_root="root"
+path_zsh_bin="/bin/zsh"
+
remember that computers suck.