Skip to content
Snippets Groups Projects
Commit 34ce7aad authored by Michal (inc0) Jastrzebski's avatar Michal (inc0) Jastrzebski Committed by Serguei Bezverkhi
Browse files

Limit check containers to reconfigure action

Genconfig doesn't require running containers or even docker installed.
This caused issues in kolla-k8s gates. Let's limit this task to
reconfigure.

Change-Id: I41265ea8d255aca59d73c1582486ed1e7885a829
parent 3513ab82
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,7 @@ ...@@ -70,6 +70,7 @@
when: when:
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- item.value.enabled | bool - item.value.enabled | bool
- action != "genconfig"
with_dict: "{{ glance_services }}" with_dict: "{{ glance_services }}"
notify: notify:
- Restart glance-api container - Restart glance-api container
......
...@@ -29,4 +29,5 @@ ...@@ -29,4 +29,5 @@
when: when:
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
- service.enabled | bool - service.enabled | bool
- action != "genconfig"
notify: Restart memcached container notify: Restart memcached container
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment