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:
Bertrand Lallau 2017-06-15 17:00:26 +02:00
parent d8fe3ea780
commit 991695a272
5 changed files with 0 additions and 16 deletions

View File

@ -1,12 +1,9 @@
---
- include: config.yml
when: inventory_hostname in groups['grafana']
- include: bootstrap.yml
when: inventory_hostname in groups['grafana']
- name: Flush handlers
meta: flush_handlers
- include: post_config.yml
when: inventory_hostname in groups['grafana']

View File

@ -1,19 +1,15 @@
---
- include: config.yml
when: inventory_hostname in groups['keystone']
- include: bootstrap.yml
when: inventory_hostname in groups['keystone']
- name: Flush handlers
meta: flush_handlers
- include: init_fernet.yml
when:
- inventory_hostname in groups['keystone']
- keystone_token_provider == 'fernet'
- include: register.yml
when: inventory_hostname in groups['keystone']
- include: check.yml

View File

@ -1,9 +1,6 @@
---
- include: config.yml
when: inventory_hostname in groups['mongodb']
- include: bootstrap.yml
when: inventory_hostname in groups['mongodb']
- include: start.yml
when: inventory_hostname in groups['mongodb']

View File

@ -1,12 +1,9 @@
---
- include: register.yml
when: inventory_hostname in groups['panko-api']
- include: config.yml
when: inventory_hostname in groups['panko-api']
- include: bootstrap.yml
when: inventory_hostname in groups['panko-api']
- name: Flush handlers
meta: flush_handlers

View File

@ -1,12 +1,9 @@
---
- include: register.yml
when: inventory_hostname in groups['searchlight']
- include: config.yml
when: inventory_hostname in groups['searchlight']
- include: bootstrap.yml
when: inventory_hostname in groups['searchlight']
- name: Flush handlers
meta: flush_handlers