diff --git a/.gitignore b/.gitignore index 7b00ee5d..25350ee0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ *.retry -scripts/inventory_re2o.ini +inventory_plugins/inventory_re2o.ini __pycache__ diff --git a/README.md b/README.md index bca93fbc..7a3fe44b 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ ssh-copy-id zamok.crans.org Pour tester le playbook `base.yml` : ```bash -ansible-playbook --ask-vault-pass base.yml --check +ansible-playbook base.yml --check ``` Vous pouvez ensuite enlever `--check` si vous voulez appliquer les changements ! diff --git a/group_vars/all/vars.yml b/group_vars/all/vars.yml deleted file mode 100644 index 748e5f95..00000000 --- a/group_vars/all/vars.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -# Use Python 3 -ansible_python_interpreter: /usr/bin/python3 diff --git a/hosts b/hosts index 18b55031..25536920 100644 --- a/hosts +++ b/hosts @@ -219,3 +219,6 @@ crans_vm crans_server ovh +[all:vars] +# Force remote to use Python 3 +ansible_python_interpreter=/usr/bin/python3 diff --git a/scripts/inventory_re2o.ini.example b/inventory_plugins/inventory_re2o.ini.example similarity index 100% rename from scripts/inventory_re2o.ini.example rename to inventory_plugins/inventory_re2o.ini.example