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
This commit is contained in:
Michal (inc0) Jastrzebski 2017-01-04 22:40:50 +00:00 committed by Serguei Bezverkhi
parent 3513ab825d
commit 34ce7aad5a
2 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@
when:
- inventory_hostname in groups[item.value.group]
- item.value.enabled | bool
- action != "genconfig"
with_dict: "{{ glance_services }}"
notify:
- Restart glance-api container

View File

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