2016-07-08 19:12:50 +02:00
|
|
|
---
|
2018-07-23 12:58:02 +08:00
|
|
|
- include_tasks: register.yml
|
2016-07-08 19:12:50 +02:00
|
|
|
when: inventory_hostname in groups['senlin-api']
|
|
|
|
|
2018-07-23 12:58:02 +08:00
|
|
|
- include_tasks: config.yml
|
2016-07-08 19:12:50 +02:00
|
|
|
when: inventory_hostname in groups['senlin-api'] or
|
2019-11-04 22:13:01 -08:00
|
|
|
inventory_hostname in groups['senlin-conductor'] or
|
|
|
|
inventory_hostname in groups['senlin-engine'] or
|
|
|
|
inventory_hostname in groups['senlin-health-manager']
|
2016-07-08 19:12:50 +02:00
|
|
|
|
2018-07-23 12:58:02 +08:00
|
|
|
- include_tasks: clone.yml
|
2018-01-18 17:17:50 +08:00
|
|
|
when: senlin_dev_mode | bool
|
|
|
|
|
2018-07-23 12:58:02 +08:00
|
|
|
- include_tasks: bootstrap.yml
|
2016-07-08 19:12:50 +02:00
|
|
|
when: inventory_hostname in groups['senlin-api']
|
|
|
|
|
2017-01-20 23:36:43 +08:00
|
|
|
- name: Flush handlers
|
|
|
|
meta: flush_handlers
|