diff --git a/ansible/roles/glance/tasks/config.yml b/ansible/roles/glance/tasks/config.yml index 4575558ed7..49e56e8008 100644 --- a/ansible/roles/glance/tasks/config.yml +++ b/ansible/roles/glance/tasks/config.yml @@ -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 diff --git a/ansible/roles/memcached/tasks/config.yml b/ansible/roles/memcached/tasks/config.yml index 5a80ad9ab3..6b008168c8 100644 --- a/ansible/roles/memcached/tasks/config.yml +++ b/ansible/roles/memcached/tasks/config.yml @@ -29,4 +29,5 @@ when: - inventory_hostname in groups[service.group] - service.enabled | bool + - action != "genconfig" notify: Restart memcached container