aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/glance/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/glance/handlers/main.yml')
-rw-r--r--deploy/adapters/ansible/roles/glance/handlers/main.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/deploy/adapters/ansible/roles/glance/handlers/main.yml b/deploy/adapters/ansible/roles/glance/handlers/main.yml
index d8eaa44a..7fdaea55 100644
--- a/deploy/adapters/ansible/roles/glance/handlers/main.yml
+++ b/deploy/adapters/ansible/roles/glance/handlers/main.yml
@@ -1,6 +1,4 @@
---
-- name: restart glance-api
- service: name=glance-api state=restarted enabled=yes
-
-- name: restart glance-registry
- service: name=glance-registry state=restarted enabled=yes
+- name: restart glance services
+ service: name={{ item }} state=restarted enabled=yes
+ with_items: services | union(services_noarch)