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
7 lines
72 B
YAML
7 lines
72 B
YAML
---
|
|
# file: site.yml
|
|
|
|
- import_playbook: web.yml
|
|
|
|
# vim: set sw=2 ts=2:
|