mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-24 21:03:26 +00:00
Use absolute rather than relative path for config.yml
The relative path is relative to the files/ directory and so the include breaks if that directory is deleted. https://groups.google.com/forum/#!topic/ansible-project/MzSZLYhx5AY Therefore seems more robust to switch to an absolute path making use of `playbook_dir`.
This commit is contained in:
parent
1bb7c60deb
commit
2a0506bbcc
1 changed files with 1 additions and 1 deletions
2
main.yml
2
main.yml
|
@ -8,7 +8,7 @@
|
|||
pre_tasks:
|
||||
- include_vars: "{{ item }}"
|
||||
with_fileglob:
|
||||
- ../config.yml
|
||||
- "{{ playbook_dir }}/config.yml"
|
||||
tags: ['always']
|
||||
|
||||
roles:
|
||||
|
|
Loading…
Reference in a new issue