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
23 lines
819 B
YAML
23 lines
819 B
YAML
---
|
|
- include_tasks: register.yml
|
|
when: inventory_hostname in groups['monasca-api'] or
|
|
inventory_hostname in groups['monasca-log-api']
|
|
|
|
- include_tasks: config.yml
|
|
when: inventory_hostname in groups['monasca-api'] or
|
|
inventory_hostname in groups['monasca-log-api'] or
|
|
inventory_hostname in groups['monasca-log-transformer'] or
|
|
inventory_hostname in groups['monasca-log-persister']
|
|
|
|
- include_tasks: bootstrap.yml
|
|
when: inventory_hostname in groups['monasca-api']
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|
|
|
|
- include_tasks: check.yml
|
|
when: inventory_hostname in groups['monasca-api'] or
|
|
inventory_hostname in groups['monasca-log-api'] or
|
|
inventory_hostname in groups['monasca-log-transformer'] or
|
|
inventory_hostname in groups['monasca-log-persister']
|