Simplify condition check on standalone services
Condition check are already performed here: https://github.com/openstack/kolla-ansible/blob/master/ansible/site.yml In order to simplify codebase, these checks can be removed for standalone services. Change-Id: Ib9842cd5363a1c7e56234a5e91dc264f89e2838f
This commit is contained in:
parent
d8fe3ea780
commit
991695a272
@ -1,12 +1,9 @@
|
|||||||
---
|
---
|
||||||
- include: config.yml
|
- include: config.yml
|
||||||
when: inventory_hostname in groups['grafana']
|
|
||||||
|
|
||||||
- include: bootstrap.yml
|
- include: bootstrap.yml
|
||||||
when: inventory_hostname in groups['grafana']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- include: post_config.yml
|
- include: post_config.yml
|
||||||
when: inventory_hostname in groups['grafana']
|
|
||||||
|
@ -1,19 +1,15 @@
|
|||||||
---
|
---
|
||||||
- include: config.yml
|
- include: config.yml
|
||||||
when: inventory_hostname in groups['keystone']
|
|
||||||
|
|
||||||
- include: bootstrap.yml
|
- include: bootstrap.yml
|
||||||
when: inventory_hostname in groups['keystone']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- include: init_fernet.yml
|
- include: init_fernet.yml
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['keystone']
|
|
||||||
- keystone_token_provider == 'fernet'
|
- keystone_token_provider == 'fernet'
|
||||||
|
|
||||||
- include: register.yml
|
- include: register.yml
|
||||||
when: inventory_hostname in groups['keystone']
|
|
||||||
|
|
||||||
- include: check.yml
|
- include: check.yml
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
---
|
---
|
||||||
- include: config.yml
|
- include: config.yml
|
||||||
when: inventory_hostname in groups['mongodb']
|
|
||||||
|
|
||||||
- include: bootstrap.yml
|
- include: bootstrap.yml
|
||||||
when: inventory_hostname in groups['mongodb']
|
|
||||||
|
|
||||||
- include: start.yml
|
- include: start.yml
|
||||||
when: inventory_hostname in groups['mongodb']
|
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
---
|
---
|
||||||
- include: register.yml
|
- include: register.yml
|
||||||
when: inventory_hostname in groups['panko-api']
|
|
||||||
|
|
||||||
- include: config.yml
|
- include: config.yml
|
||||||
when: inventory_hostname in groups['panko-api']
|
|
||||||
|
|
||||||
- include: bootstrap.yml
|
- include: bootstrap.yml
|
||||||
when: inventory_hostname in groups['panko-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
---
|
---
|
||||||
- include: register.yml
|
- include: register.yml
|
||||||
when: inventory_hostname in groups['searchlight']
|
|
||||||
|
|
||||||
- include: config.yml
|
- include: config.yml
|
||||||
when: inventory_hostname in groups['searchlight']
|
|
||||||
|
|
||||||
- include: bootstrap.yml
|
- include: bootstrap.yml
|
||||||
when: inventory_hostname in groups['searchlight']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
Loading…
Reference in New Issue
Block a user