diff --git a/ansible/roles/cyborg/handlers/main.yml b/ansible/roles/cyborg/handlers/main.yml index 0453191629..ea0bb2093c 100644 --- a/ansible/roles/cyborg/handlers/main.yml +++ b/ansible/roles/cyborg/handlers/main.yml @@ -15,7 +15,7 @@ volumes: "{{ service.volumes }}" dimensions: "{{ service.dimensions }}" when: - - action != "config" + - kolla_action != "config" - inventory_hostname in groups[service.group] - service.enabled | bool - config_json.changed | bool @@ -39,7 +39,7 @@ volumes: "{{ service.volumes }}" dimensions: "{{ service.dimensions }}" when: - - action != "config" + - kolla_action != "config" - inventory_hostname in groups[service.group] - service.enabled | bool - config_json.changed | bool @@ -63,7 +63,7 @@ volumes: "{{ service.volumes }}" dimensions: "{{ service.dimensions }}" when: - - action != "config" + - kolla_action != "config" - inventory_hostname in groups[service.group] - service.enabled | bool - config_json.changed | bool diff --git a/ansible/roles/cyborg/tasks/config.yml b/ansible/roles/cyborg/tasks/config.yml index 326317e4d3..ea8e29df23 100644 --- a/ansible/roles/cyborg/tasks/config.yml +++ b/ansible/roles/cyborg/tasks/config.yml @@ -118,7 +118,7 @@ dimensions: "{{ item.value.dimensions }}" register: check_cyborg_containers when: - - action != "config" + - kolla_action != "config" - inventory_hostname in groups[item.value.group] - item.value.enabled | bool with_dict: "{{ cyborg_services }}"