kolla-ansible/ansible/roles/designate/tasks/deploy.yml
Jeffrey Zhang b51eeed89e Use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0]

[0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated

Co-Authored-By: confi-surya <singh.surya64mnnit@gmail.com>
Change-Id: Ic9d71e1865d1c728890625aeddf424a5734c0a8a
2018-07-25 23:57:22 +08:00

25 lines
831 B
YAML

---
- include_tasks: register.yml
when: inventory_hostname in groups['designate-api']
- include_tasks: config.yml
when: inventory_hostname in groups['designate-api'] or
inventory_hostname in groups['designate-central'] or
inventory_hostname in groups['designate-producer'] or
inventory_hostname in groups['designate-mdns'] or
inventory_hostname in groups['designate-worker'] or
inventory_hostname in groups['designate-sink'] or
inventory_hostname in groups['designate-backend-bind9']
- include_tasks: clone.yml
when: designate_dev_mode | bool
- include_tasks: bootstrap.yml
when: inventory_hostname in groups['designate-central']
- name: Flush handlers
meta: flush_handlers
- include_tasks: update_pools.yml
when: inventory_hostname in groups['designate-worker'][0]