diff options
author | binary <me@rgoncalves.se> | 2020-11-22 21:10:01 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-22 21:10:01 +0100 |
commit | e5c53d4cc0778e0333037b0af3a7b39da1ab16b3 (patch) | |
tree | f3a1dede9b67965119d880d2ba6b871a5e3990a8 | |
parent | 8f1ce863adbca10dde903dad5c0b8f5889bc41d7 (diff) | |
download | infrastructure-e5c53d4cc0778e0333037b0af3a7b39da1ab16b3.tar.gz |
Move packages vars to global variables.
-rw-r--r-- | group_vars/all.yml | 26 | ||||
-rw-r--r-- | group_vars/freebsd.yml | 1 | ||||
-rw-r--r-- | roles/tools/vars/main.yml | 19 |
3 files changed, 27 insertions, 19 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml index 1215536..ffdf3f8 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -7,6 +7,8 @@ user_root: "root" group_root: "root" +path_prometheusconfig: "/etc/prometheus/prometheus.yml" + global: dcontroller: "dcontroller" @@ -14,3 +16,27 @@ global: dns: - 8.8.8.8 - 8.8.4.4 + +packages: + + alpine: + sshfs: "sshfs" + wireguard: "wireguard-lts wireguard-tools ip6tables" + node_exporter: "prometheus-node-exporter" + extra: "shadow" + + debian: + sshfs: "sshfs" + wireguard: "wireguard" + node_exporter: "node_exporter" + + freebsd: + sshfs: "fusefs-sshfs" + wireguard: "wireguard" + node_exporter: "node_exporter" + + openbsd: + sshfs: "sshfs-fuse" + wireguard: "wireguard-tools" + node_exporter: "node_exporter" + diff --git a/group_vars/freebsd.yml b/group_vars/freebsd.yml index eb345ac..ecd32c8 100644 --- a/group_vars/freebsd.yml +++ b/group_vars/freebsd.yml @@ -9,6 +9,7 @@ path_zshconfig: "/usr/local/etc/zshrc" path_tmuxconfig: "/usr/local/etc/tmux.conf" path_doasconfig: "/usr/local/etc/doas.conf" path_gitshell: "/usr/local/bin/git-shell" +path_prometheusconfig: "/usr/local/etc/prometheus.yml" os_distribution: "freebsd" diff --git a/roles/tools/vars/main.yml b/roles/tools/vars/main.yml index 7876681..a5346e5 100644 --- a/roles/tools/vars/main.yml +++ b/roles/tools/vars/main.yml @@ -3,22 +3,3 @@ --- -packages: - - alpine: - sshfs: "sshfs" - wireguard: "wireguard-lts wireguard-tools ip6tables" - extra: "shadow" - - debian: - sshfs: "sshfs" - wireguard: "wireguard" - - freebsd: - sshfs: "fusefs-sshfs" - wireguard: "wireguard" - - openbsd: - sshfs: "sshfs-fuse" - wireguard: "wireguard-tools" - |