Add handler so the glance container gets restarted every time the glance config file is changed

This commit is contained in:
phil committed 2024-10-24 10:22:59 -06:00
1 parent a1ab0ae715
commit 8e54340c9e
2 files changed
+12 -4

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
# roles/docker/handlers/main.yml
- name: restart glance
community.docker.docker_compose_v2:
project_src: /opt/stacks/glance
files:
- compose.yml
state: restarted