inventory_dir cannot be used with Tower
This commit is contained in:
parent
789bf900d0
commit
029547ea7b
5 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
#default is linear
|
#default is linear
|
||||||
#strategy: free
|
#strategy: free
|
||||||
vars_files:
|
vars_files:
|
||||||
- "{{inventory_dir}}/vars/vars.yml"
|
- "{{playbook_dir}}/vars/vars.yml"
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: tasks/copy_files.yml
|
- include_tasks: tasks/copy_files.yml
|
||||||
- include_tasks: tasks/delete_files.yml
|
- include_tasks: tasks/delete_files.yml
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- hosts: devoteam
|
- hosts: devoteam
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars_files:
|
vars_files:
|
||||||
- "{{inventory_dir}}/vars/vars.yml"
|
- "{{playbook_dir}}/vars/vars.yml"
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Copy files from {{ dir_src }} to {{ dir_dst }}"
|
- name: "Copy files from {{ dir_src }} to {{ dir_dst }}"
|
||||||
copy:
|
copy:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- hosts: alpine
|
- hosts: alpine
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars_files:
|
vars_files:
|
||||||
- "{{inventory_dir}}/vars/vars.yml"
|
- "{{playbook_dir}}/vars/vars.yml"
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: tasks/copy_files.yml
|
- include_tasks: tasks/copy_files.yml
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- hosts: alpine
|
- hosts: alpine
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars_files:
|
vars_files:
|
||||||
- "{{inventory_dir}}/vars/vars.yml"
|
- "{{playbook_dir}}/vars/vars.yml"
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: tasks/delete_files.yml
|
- include_tasks: tasks/delete_files.yml
|
||||||
|
|
Loading…
Reference in a new issue