b51eeed89e
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
24 lines
794 B
YAML
24 lines
794 B
YAML
---
|
|
- include_tasks: register.yml
|
|
when: enable_keystone | bool and
|
|
(inventory_hostname in groups['ironic-api'] or
|
|
inventory_hostname in groups['ironic-inspector'])
|
|
|
|
- include_tasks: config.yml
|
|
when: inventory_hostname in groups['ironic-api'] or
|
|
inventory_hostname in groups['ironic-conductor'] or
|
|
inventory_hostname in groups['ironic-inspector'] or
|
|
inventory_hostname in groups['ironic-pxe'] or
|
|
inventory_hostname in groups['ironic-ipxe']
|
|
|
|
- include_tasks: clone.yml
|
|
when: ironic_dev_mode | bool
|
|
|
|
- include_tasks: bootstrap.yml
|
|
when: inventory_hostname in groups['ironic-api'] or
|
|
inventory_hostname in groups['ironic-inspector'] or
|
|
inventory_hostname in groups['ironic-pxe']
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|