diff options
author | binary <me@rgoncalves.se> | 2020-11-20 16:52:50 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-20 16:52:50 +0100 |
commit | ed9ac434955f51731d6f12b72282192a523a2af0 (patch) | |
tree | a5921d871fda54686295c76c3c468fe0e482f06b /group_vars | |
parent | bd5ba6834c429fe2e14b8d61fbd993b3f23175a3 (diff) | |
download | infrastructure-ed9ac434955f51731d6f12b72282192a523a2af0.tar.gz |
Definitive refactor of inventory in sub-files
Diffstat (limited to 'group_vars')
-rw-r--r-- | group_vars/all.yml | 4 | ||||
-rw-r--r-- | group_vars/alpine.yml | 7 | ||||
-rw-r--r-- | group_vars/bsd.yml | 13 | ||||
-rw-r--r-- | group_vars/debian.yml | 7 | ||||
-rw-r--r-- | group_vars/freebsd.yml | 7 | ||||
-rw-r--r-- | group_vars/linux.yml | 13 |
6 files changed, 28 insertions, 23 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml index a76a28b..31daa6f 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -1,6 +1,6 @@ -# all ~~ group_vars/all.yml -# all machines +# openbsd.yml ~~ group_vars/ +# openbsd machines --- diff --git a/group_vars/alpine.yml b/group_vars/alpine.yml index dc39690..448587c 100644 --- a/group_vars/alpine.yml +++ b/group_vars/alpine.yml @@ -4,16 +4,9 @@ --- -ansible_become_method: "sudo" - -user_op: "puffy" - -group_root: "root" - path_zsh: "/usr/bin/zsh" path_zshconfig: "/etc/zsh/zshrc" path_tmuxconfig: "/etc/tmux.conf" path_gitshell: "/usr/bin/git-shell" -os_type: "linux" os_distribution: "alpine" diff --git a/group_vars/bsd.yml b/group_vars/bsd.yml new file mode 100644 index 0000000..65ebce9 --- /dev/null +++ b/group_vars/bsd.yml @@ -0,0 +1,13 @@ + +# bsd ~~ group_vars/bsd.yml +# *bsd family machines + +--- + +ansible_become_method: "doas" + +group_root: "wheel" +user_op: "puffy" + +os_type: "bsd" + diff --git a/group_vars/debian.yml b/group_vars/debian.yml index 01aa2f0..9fee07f 100644 --- a/group_vars/debian.yml +++ b/group_vars/debian.yml @@ -4,16 +4,9 @@ --- -ansible_become_method: "sudo" - -user_op: "puffy" - -group_root: "root" - path_zsh: "/usr/bin/zsh" path_zshconfig: "/etc/zsh/zshrc" path_tmuxconfig: "/etc/tmux.conf" path_gitshell: "/usr/bin/git-shell" -os_type: "linux" os_distribution: "debian" diff --git a/group_vars/freebsd.yml b/group_vars/freebsd.yml index 5ea470e..eb345ac 100644 --- a/group_vars/freebsd.yml +++ b/group_vars/freebsd.yml @@ -4,18 +4,11 @@ --- -ansible_become_method: "doas" - -user_op: "puffy" - -group_root: "wheel" - path_zsh: "/usr/local/bin/zsh" 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" -os_type: "bsd" os_distribution: "freebsd" diff --git a/group_vars/linux.yml b/group_vars/linux.yml new file mode 100644 index 0000000..3414cfb --- /dev/null +++ b/group_vars/linux.yml @@ -0,0 +1,13 @@ + +# linux ~~ group_vars/linux.yml +# linux family machines + +--- + +ansible_become_method: "sudo" + +group_root: "root" +user_op: "puffy" + +os_type: "linux" + |