diff options
author | binary <me@rgoncalves.se> | 2020-09-08 18:40:48 +0200 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-09-08 18:40:48 +0200 |
commit | d897257bf6401999751eb824499fc476cad8ad7f (patch) | |
tree | 938b61fbeaa6f642ecb34be94de1b0a98f7d18b7 | |
parent | b6df5bb201ff4ea3c1701e05c3f66e465079a6cb (diff) | |
download | infrastructure-d897257bf6401999751eb824499fc476cad8ad7f.tar.gz |
Separated inventory in two distinct files
-rw-r--r-- | ansible.cfg | 2 | ||||
-rw-r--r-- | inventory_vars.ini | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/ansible.cfg b/ansible.cfg index f350abf..480a2c2 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -inventory = inventory.ini +inventory = inventory.ini,inventory_vars.ini interpreter_python = auto_silent jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n diff --git a/inventory_vars.ini b/inventory_vars.ini new file mode 100644 index 0000000..d5e173a --- /dev/null +++ b/inventory_vars.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" + |