Merge "Fix missed kolla_action and kolla_serial"
This commit is contained in:
commit
c4928b5068
ansible
@ -6,7 +6,7 @@
|
|||||||
# Ansible gathering facts twice.
|
# Ansible gathering facts twice.
|
||||||
- name: Gather facts for all hosts
|
- name: Gather facts for all hosts
|
||||||
hosts: all
|
hosts: all
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- setup:
|
- setup:
|
||||||
@ -21,7 +21,7 @@
|
|||||||
# which can be very inefficient.
|
# which can be very inefficient.
|
||||||
- name: Gather facts for all hosts (if using --limit)
|
- name: Gather facts for all hosts (if using --limit)
|
||||||
hosts: all
|
hosts: all
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- setup:
|
- setup:
|
||||||
|
@ -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
|
||||||
|
@ -90,7 +90,7 @@
|
|||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
register: check_blazar_containers
|
register: check_blazar_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: "{{ blazar_services }}"
|
with_dict: "{{ blazar_services }}"
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
- include: "{{ action }}.yml"
|
- include: "{{ kolla_action }}.yml"
|
||||||
|
@ -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 @@
|
|||||||
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
|
||||||
@ -61,7 +61,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
|
||||||
@ -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 @@
|
|||||||
volumes: "{{ service.volumes }}"
|
volumes: "{{ service.volumes }}"
|
||||||
cap_add: "{{ service.cap_add }}"
|
cap_add: "{{ service.cap_add }}"
|
||||||
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
|
||||||
|
@ -200,7 +200,7 @@
|
|||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
register: check_ironic_containers
|
register: check_ironic_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: "{{ ironic_services }}"
|
with_dict: "{{ ironic_services }}"
|
||||||
|
@ -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
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
environment: "{{ item.value.environment }}"
|
environment: "{{ item.value.environment }}"
|
||||||
register: check_kafka_containers
|
register: check_kafka_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: "{{ kafka_services }}"
|
with_dict: "{{ kafka_services }}"
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
- include: "{{ action }}.yml"
|
- include: "{{ kolla_action }}.yml"
|
||||||
|
@ -14,7 +14,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
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
register: check_mongodb_containers
|
register: check_mongodb_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: "{{ mongodb_services }}"
|
with_dict: "{{ mongodb_services }}"
|
||||||
|
@ -312,7 +312,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
|
||||||
|
@ -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
|
||||||
@ -33,7 +33,7 @@
|
|||||||
pid_mode: "{{ service.pid_mode | default(emit) }}"
|
pid_mode: "{{ service.pid_mode | default(emit) }}"
|
||||||
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
|
||||||
@ -52,7 +52,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
|
||||||
@ -72,7 +72,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
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
register: check_prometheus_containers
|
register: check_prometheus_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: "{{ prometheus_services }}"
|
with_dict: "{{ prometheus_services }}"
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
- include: "{{ action }}.yml"
|
- include: "{{ kolla_action }}.yml"
|
||||||
|
@ -15,7 +15,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
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
environment: "{{ item.value.environment }}"
|
environment: "{{ item.value.environment }}"
|
||||||
register: check_zookeeper_containers
|
register: check_zookeeper_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: "{{ zookeeper_services }}"
|
with_dict: "{{ zookeeper_services }}"
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
- include: "{{ action }}.yml"
|
- include: "{{ kolla_action }}.yml"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user