Skip to content

Commit 4b3451c

Browse files
committed
[temp] flush handlers after registration
this is suboptimal, as it means we do an additional restart, but it ensures the refresh works
1 parent 8669f6f commit 4b3451c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/roles/foreman_proxy/tasks/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@
5252
ansible.builtin.systemd:
5353
daemon_reload: true
5454

55-
- name: Flush handlers to restart services
56-
ansible.builtin.meta: flush_handlers
57-
5855
- name: Start the Foreman Proxy Service
5956
ansible.builtin.systemd:
6057
name: foreman-proxy
@@ -68,3 +65,6 @@
6865
username: "{{ foreman_initial_admin_username }}"
6966
password: "{{ foreman_initial_admin_password }}"
7067
validate_certs: false
68+
69+
- name: Flush handlers to restart services
70+
ansible.builtin.meta: flush_handlers

0 commit comments

Comments
 (0)