Skip to content

Commit 5429aae

Browse files
Arvind Jangirevgeni
authored andcommitted
Restart foreman and plup services when env var update
1 parent d9f1497 commit 5429aae

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/roles/foreman/tasks/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
- |
9191
[Install]
9292
WantedBy=default.target
93+
notify: Restart foreman
9394

9495
- name: Deploy Dynflow Container
9596
containers.podman.podman_container:

src/roles/pulp/tasks/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
[Service]
103103
Restart=always
104104
RestartSec=3
105+
notify: Restart pulp-api
105106

106107
- name: Deploy Pulp Content Container
107108
containers.podman.podman_container:
@@ -128,6 +129,7 @@
128129
[Service]
129130
Restart=always
130131
RestartSec=3
132+
notify: Restart pulp-content
131133

132134
- name: Deploy Pulp Worker Container
133135
containers.podman.podman_container:
@@ -153,6 +155,7 @@
153155
[Service]
154156
Restart=always
155157
RestartSec=3
158+
notify: Restart pulp-worker
156159

157160
- name: Run daemon reload to make Quadlet create the service files
158161
ansible.builtin.systemd:

0 commit comments

Comments
 (0)