Merge "Fix ansible warning"

This commit is contained in:
Zuul 2018-05-11 04:13:44 +00:00 committed by Gerrit Code Review
commit 06b46533a4
178 changed files with 347 additions and 341 deletions

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -38,7 +38,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -61,7 +61,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -84,7 +84,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -112,7 +112,7 @@
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}" volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
register: check_aodh_containers register: check_aodh_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ aodh_services }}" with_dict: "{{ aodh_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -39,7 +39,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -62,7 +62,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -131,7 +131,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_barbican_containers register: check_barbican_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ barbican_services }}" with_dict: "{{ barbican_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -16,7 +16,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -43,7 +43,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -69,7 +69,7 @@
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -171,7 +171,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_ceilometer_containers register: check_ceilometer_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ ceilometer_services }}" with_dict: "{{ ceilometer_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -11,6 +11,6 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool

View File

@ -43,7 +43,7 @@
privileged: "{{ item.value.privileged }}" privileged: "{{ item.value.privileged }}"
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ chrony_services }}" with_dict: "{{ chrony_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes | reject('equalto', '') | list }}" volumes: "{{ service.volumes | reject('equalto', '') | list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -38,7 +38,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes | reject('equalto', '') | list }}" volumes: "{{ service.volumes | reject('equalto', '') | list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -63,7 +63,7 @@
ipc_mode: "{{ service.ipc_mode | default('') }}" ipc_mode: "{{ service.ipc_mode | default('') }}"
volumes: "{{ service.volumes | reject('equalto', '') | list }}" volumes: "{{ service.volumes | reject('equalto', '') | list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -87,7 +87,7 @@
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes | reject('equalto', '') | list }}" volumes: "{{ service.volumes | reject('equalto', '') | list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -130,7 +130,7 @@
ipc_mode: "{{ item.value.ipc_mode | default('') }}" ipc_mode: "{{ item.value.ipc_mode | default('') }}"
register: check_cinder_containers register: check_cinder_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ cinder_services }}" with_dict: "{{ cinder_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -38,7 +38,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -106,7 +106,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_cloudkitty_containers register: check_cloudkitty_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ cloudkitty_services }}" with_dict: "{{ cloudkitty_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -13,7 +13,7 @@
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -69,7 +69,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_collectd_containers register: check_collectd_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ collectd_services }}" with_dict: "{{ collectd_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -13,7 +13,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
environment: "{{ service.environment }}" environment: "{{ service.environment }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
or fluentd_input.changed | bool or fluentd_input.changed | bool
@ -40,7 +40,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
environment: "{{ service.environment }}" environment: "{{ service.environment }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
or kolla_toolbox_container.changed | bool or kolla_toolbox_container.changed | bool
@ -65,7 +65,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
environment: "{{ service.environment }}" environment: "{{ service.environment }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
or cron_confs.changed | bool or cron_confs.changed | bool

View File

@ -256,7 +256,7 @@
environment: "{{ item.value.environment }}" environment: "{{ item.value.environment }}"
register: check_common_containers register: check_common_containers
when: when:
- action != "config" - kolla_action != "config"
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ common_services }}" with_dict: "{{ common_services }}"
notify: notify:

View File

@ -1,5 +1,5 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"
tags: common tags: common
when: not common_run when: not common_run

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -37,7 +37,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -60,7 +60,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -86,7 +86,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_congress_containers register: check_congress_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ congress_services }}" with_dict: "{{ congress_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -12,7 +12,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -36,7 +36,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -59,7 +59,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -82,7 +82,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -105,7 +105,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -128,7 +128,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -153,7 +153,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -185,7 +185,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_designate_containers register: check_designate_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ designate_services }}" with_dict: "{{ designate_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -14,7 +14,7 @@
environment: "{{ service.environment }}" environment: "{{ service.environment }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -59,7 +59,7 @@
environment: "{{ item.value.environment }}" environment: "{{ item.value.environment }}"
register: check_elasticsearch_containers register: check_elasticsearch_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ elasticsearch_services }}" with_dict: "{{ elasticsearch_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -13,7 +13,7 @@
environment: "{{ service.environment }}" environment: "{{ service.environment }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -36,7 +36,7 @@
environment: "{{ item.value.environment }}" environment: "{{ item.value.environment }}"
register: check_etcd_containers register: check_etcd_containers
when: when:
- action != "config" - kolla_action != "config"
- item.value.enabled | bool - item.value.enabled | bool
- item.value.host_in_groups | bool - item.value.host_in_groups | bool
with_dict: "{{ etcd_services }}" with_dict: "{{ etcd_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -103,7 +103,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_freezer_containers register: check_freezer_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ freezer_services }}" with_dict: "{{ freezer_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in glance_api_hosts - inventory_hostname in glance_api_hosts
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -39,7 +39,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -120,7 +120,7 @@
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}" volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
register: check_glance_containers register: check_glance_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ glance_services }}" with_dict: "{{ glance_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -38,7 +38,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -61,7 +61,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -109,7 +109,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_gnocchi_containers register: check_gnocchi_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ gnocchi_services }}" with_dict: "{{ gnocchi_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -13,7 +13,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -109,7 +109,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_grafana_containers register: check_grafana_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ grafana_services }}" with_dict: "{{ grafana_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -13,7 +13,7 @@
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -37,7 +37,7 @@
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -51,7 +51,7 @@
register: status register: status
changed_when: status.stdout.find('changed') != -1 changed_when: status.stdout.find('changed') != -1
when: when:
- action != "config" - kolla_action != "config"
- haproxy_config_jsons.changed | bool - haproxy_config_jsons.changed | bool
or haproxy_cfg.changed | bool or haproxy_cfg.changed | bool
or haproxy_pem.changed | bool or haproxy_pem.changed | bool

View File

@ -103,7 +103,7 @@
privileged: "{{ item.value.privileged | default(False) }}" privileged: "{{ item.value.privileged | default(False) }}"
register: check_haproxy_containers register: check_haproxy_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ haproxy_services }}" with_dict: "{{ haproxy_services }}"

View File

@ -1,3 +1,3 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"
when: inventory_hostname in groups['haproxy'] when: inventory_hostname in groups['haproxy']

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -37,7 +37,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -60,7 +60,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -103,7 +103,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_heat_containers register: check_heat_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ heat_services }}" with_dict: "{{ heat_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -11,7 +11,7 @@
environment: "{{ service.environment }}" environment: "{{ service.environment }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- horizon_config_json | changed - horizon_config_json | changed

View File

@ -126,7 +126,7 @@
volumes: "{{ horizon.volumes }}" volumes: "{{ horizon.volumes }}"
register: check_horizon_container register: check_horizon_container
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[horizon.group] - inventory_hostname in groups[horizon.group]
- horizon.enabled | bool - horizon.enabled | bool
notify: notify:

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -12,7 +12,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -54,7 +54,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_influxdb_containers register: check_influxdb_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ influxdb_services }}" with_dict: "{{ influxdb_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -13,7 +13,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -34,7 +34,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -56,7 +56,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -78,7 +78,7 @@
become: true become: true
register: check_karbor_containers register: check_karbor_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ karbor_services }}" with_dict: "{{ karbor_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -21,7 +21,7 @@
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
run_once: True run_once: True
when: when:
- action == "upgrade" - kolla_action == "upgrade"
- service.enabled | bool - service.enabled | bool
- inventory_hostname == groups[service.group][0] - inventory_hostname == groups[service.group][0]
@ -40,7 +40,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -64,7 +64,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -86,7 +86,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -114,6 +114,6 @@
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
run_once: True run_once: True
when: when:
- action == "upgrade" - kolla_action == "upgrade"
- service.enabled | bool - service.enabled | bool
- inventory_hostname == groups[service.group][-1] - inventory_hostname == groups[service.group][-1]

View File

@ -237,7 +237,7 @@
image: "{{ item.value.image }}" image: "{{ item.value.image }}"
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}" volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
register: check_keystone_containers register: check_keystone_containers

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -13,7 +13,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -49,7 +49,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_kibana_containers register: check_kibana_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ kibana_services }}" with_dict: "{{ kibana_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -16,7 +16,7 @@
cap_add: "{{ service.cap_add }}" cap_add: "{{ service.cap_add }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -107,7 +107,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_kuryr_containers register: check_kuryr_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ kuryr_services }}" with_dict: "{{ kuryr_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -15,7 +15,7 @@
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
environment: "{{ service.environment }}" environment: "{{ service.environment }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -39,7 +39,7 @@
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
environment: "{{ service.environment }}" environment: "{{ service.environment }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -92,7 +92,7 @@
environment: "{{ item.value.environment }}" environment: "{{ item.value.environment }}"
register: check_magnum_containers register: check_magnum_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ magnum_services }}" with_dict: "{{ magnum_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -38,7 +38,7 @@
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -61,7 +61,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -84,7 +84,7 @@
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -115,7 +115,7 @@
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}" volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
register: check_manila_containers register: check_manila_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ manila_services }}" with_dict: "{{ manila_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -53,7 +53,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname != master_host - inventory_hostname != master_host
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
@ -79,7 +79,7 @@
retries: 10 retries: 10
delay: 6 delay: 6
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname != master_host - inventory_hostname != master_host
- name: restart master mariadb - name: restart master mariadb
@ -94,7 +94,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname == master_host - inventory_hostname == master_host
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
@ -120,5 +120,5 @@
retries: 10 retries: 10
delay: 6 delay: 6
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname == master_host - inventory_hostname == master_host

View File

@ -74,7 +74,7 @@
become: true become: true
register: check_mariadb_containers register: check_mariadb_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ mariadb_services }}" with_dict: "{{ mariadb_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -9,7 +9,7 @@
name: "{{ service.container_name }}" name: "{{ service.container_name }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- memcached_config_json.changed | bool - memcached_config_json.changed | bool

View File

@ -35,5 +35,5 @@
when: when:
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- action != "config" - kolla_action != "config"
notify: Restart memcached container notify: Restart memcached container

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -14,7 +14,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -37,7 +37,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool
@ -60,7 +60,7 @@
image: "{{ service.image }}" image: "{{ service.image }}"
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- config_json.changed | bool - config_json.changed | bool

View File

@ -86,7 +86,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_mistral_containers register: check_mistral_containers
when: when:
- action != "config" - kolla_action != "config"
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
with_dict: "{{ mistral_services }}" with_dict: "{{ mistral_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

View File

@ -64,7 +64,7 @@
run_once: True run_once: True
delegate_to: "{{ groups['murano-api'][0] }}" delegate_to: "{{ groups['murano-api'][0] }}"
when: when:
- status.stdout.find("io.murano") == -1 or action == "upgrade" - status.stdout.find("io.murano") == -1 or kolla_action == "upgrade"
- name: Importing Murano applications library package - name: Importing Murano applications library package
command: > command: >
@ -78,4 +78,4 @@
run_once: True run_once: True
delegate_to: "{{ groups['murano-api'][0] }}" delegate_to: "{{ groups['murano-api'][0] }}"
when: when:
- status.stdout.find("io.murano.applications") == -1 or action == "upgrade" - status.stdout.find("io.murano.applications") == -1 or kolla_action == "upgrade"

View File

@ -18,7 +18,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json | changed - config_json | changed
@ -47,7 +47,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json | changed - config_json | changed
@ -73,7 +73,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json | changed - config_json | changed
@ -100,7 +100,7 @@
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
with_sequence: "start=1 end={{ num_nova_fake_per_node }}" with_sequence: "start=1 end={{ num_nova_fake_per_node }}"
when: when:
- action != "config" - kolla_action != "config"
- enable_nova_fake | bool - enable_nova_fake | bool
- neutron_plugin_agent == "openvswitch" - neutron_plugin_agent == "openvswitch"
- inventory_hostname in groups["compute"] - inventory_hostname in groups["compute"]
@ -127,7 +127,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json | changed - config_json | changed
@ -152,7 +152,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json | changed - config_json | changed
@ -182,7 +182,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json | changed - config_json | changed
@ -211,7 +211,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json | changed - config_json | changed
@ -237,7 +237,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json | changed - config_json | changed
@ -262,7 +262,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json | changed - config_json | changed
@ -287,7 +287,7 @@
volumes: "{{ service.volumes }}" volumes: "{{ service.volumes }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
when: when:
- action != "config" - kolla_action != "config"
- service.enabled | bool - service.enabled | bool
- service.host_in_groups | bool - service.host_in_groups | bool
- config_json | changed - config_json | changed

View File

@ -69,7 +69,7 @@
volumes: "{{ neutron_openvswitch_agent.volumes }}" volumes: "{{ neutron_openvswitch_agent.volumes }}"
register: check_fake_neutron_openvswitch_agent register: check_fake_neutron_openvswitch_agent
when: when:
- action != "config" - kolla_action != "config"
- enable_nova_fake | bool - enable_nova_fake | bool
- neutron_plugin_agent == "openvswitch" - neutron_plugin_agent == "openvswitch"
- inventory_hostname in groups["compute"] - inventory_hostname in groups["compute"]

View File

@ -423,7 +423,7 @@
volumes: "{{ item.value.volumes }}" volumes: "{{ item.value.volumes }}"
register: check_neutron_containers register: check_neutron_containers
when: when:
- action != "config" - kolla_action != "config"
- item.value.enabled | bool - item.value.enabled | bool
- item.value.host_in_groups | bool - item.value.host_in_groups | bool
with_dict: "{{ neutron_services }}" with_dict: "{{ neutron_services }}"

View File

@ -1,2 +1,2 @@
--- ---
- include: "{{ action }}.yml" - include: "{{ kolla_action }}.yml"

Some files were not shown because too many files have changed in this diff Show More