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
25 lines
1.1 KiB
YAML
25 lines
1.1 KiB
YAML
---
|
|
- include_tasks: register.yml
|
|
when: inventory_hostname in groups['swift-account-server'] or
|
|
inventory_hostname in groups['swift-container-server'] or
|
|
inventory_hostname in groups['swift-object-server'] or
|
|
inventory_hostname in groups['swift-proxy-server']
|
|
|
|
- include_tasks: config.yml
|
|
when: inventory_hostname in groups['swift-account-server'] or
|
|
inventory_hostname in groups['swift-container-server'] or
|
|
inventory_hostname in groups['swift-object-server'] or
|
|
inventory_hostname in groups['swift-proxy-server']
|
|
|
|
- include_tasks: start.yml
|
|
when: inventory_hostname in groups['swift-account-server'] or
|
|
inventory_hostname in groups['swift-container-server'] or
|
|
inventory_hostname in groups['swift-object-server'] or
|
|
inventory_hostname in groups['swift-proxy-server']
|
|
|
|
- include_tasks: check.yml
|
|
when: inventory_hostname in groups['swift-account-server'] or
|
|
inventory_hostname in groups['swift-container-server'] or
|
|
inventory_hostname in groups['swift-object-server'] or
|
|
inventory_hostname in groups['swift-proxy-server']
|