Fix syntax warnings

instead of
[import_tasks](https://docs.ansible.com/ansible/2.4/import_tasks_module.html#options)
> Any loops, conditionals and most other keywords will be applied
> to the included tasks
This commit is contained in:
Ken Sonoda 2017-12-28 10:11:17 +09:00
parent 93c7d6f794
commit 5c7857bc89

View file

@ -22,23 +22,23 @@
tags: ['mas']
tasks:
- include: tasks/ansible-setup.yml
- include_tasks: tasks/ansible-setup.yml
- include: tasks/sudoers.yml
- include_tasks: tasks/sudoers.yml
when: configure_sudoers
- include: tasks/terminal.yml
- include_tasks: tasks/terminal.yml
when: configure_terminal
- include: tasks/osx.yml
- include_tasks: tasks/osx.yml
when: configure_osx
tags: ['osx']
- include: tasks/extra-packages.yml
- include_tasks: tasks/extra-packages.yml
tags: ['extra-packages']
- name: Run configured post-provision ansible task files.
include: "{{ outer_item }}"
include_tasks: "{{ outer_item }}"
loop_control:
loop_var: outer_item
with_fileglob: "{{ post_provision_tasks|default(omit) }}"