Fix glance config copy when a service is disabled

In this patch, the glance-registry service was disabled:
https://review.openstack.org/#/c/566804/

However, the config task still tries to copy files for it, which will
break due to path errors.

Change-Id: If39bb12bf830e6559342037ae2a2b99a784ee503
This commit is contained in:
Adam Harwell 2018-07-18 14:08:40 -07:00
parent 97dcee4c98
commit 8cc97c60d3
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@
when:
- glance_policy_file is defined
- inventory_hostname in groups[item.value.group]
- item.value.enabled | bool
with_dict: "{{ glance_services }}"
notify:
- Restart glance-api container