Adjust playbooks for Ansible 2.4 import changes

Ansible 2.4 changes the way includes work. Now you have to use "import"
for playbooks and tasks that are static, and "include" for those that
are dynamic (ie, those that use variables, loops, etc).

See: http://docs.ansible.com/ansible/devel/playbooks_reuse_includes.html
This commit is contained in:
2017-09-21 21:30:47 +03:00
parent 3e581f9a46
commit 16a9ebf97f
8 changed files with 16 additions and 16 deletions

View File

@ -1,6 +1,6 @@
---
- include: munin.yml
- import_tasks: munin.yml
tags: munin
- include: munin-node.yml
- import_tasks: munin-node.yml
tags: munin-node