inventory_dir cannot be used with Tower

This commit is contained in:
Cedric Girard 2018-07-27 10:59:41 +02:00
parent 789bf900d0
commit 029547ea7b
5 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
#default is linear
#strategy: free
vars_files:
- "{{inventory_dir}}/vars/vars.yml"
- "{{playbook_dir}}/vars/vars.yml"
tasks:
- include_tasks: tasks/copy_files.yml
- include_tasks: tasks/delete_files.yml

View file

@ -1,7 +1,7 @@
- hosts: devoteam
gather_facts: no
vars_files:
- "{{inventory_dir}}/vars/vars.yml"
- "{{playbook_dir}}/vars/vars.yml"
tasks:
- name: "Copy files from {{ dir_src }} to {{ dir_dst }}"
copy:

View file

@ -1,6 +1,6 @@
- hosts: alpine
gather_facts: no
vars_files:
- "{{inventory_dir}}/vars/vars.yml"
- "{{playbook_dir}}/vars/vars.yml"
tasks:
- include_tasks: tasks/copy_files.yml

View file

@ -1,6 +1,6 @@
- hosts: alpine
gather_facts: no
vars_files:
- "{{inventory_dir}}/vars/vars.yml"
- "{{playbook_dir}}/vars/vars.yml"
tasks:
- include_tasks: tasks/delete_files.yml