Use the systemd Ansible module to reload daemon configs.
authorMatt Birkholz <matt@birchwood-abbey.net>
Mon, 2 Sep 2024 23:19:28 +0000 (17:19 -0600)
committerMatt Birkholz <matt@birchwood-abbey.net>
Mon, 2 Sep 2024 23:19:28 +0000 (17:19 -0600)
README.org
roles_t/campus/handlers/main.yml
roles_t/core/handlers/main.yml
roles_t/front/handlers/main.yml

index 7a0e635d9feed6698e649d52d71ea44941209a3b..6b4512270dcfe6411cb82dabcf2a6ccf9a0f5973 100644 (file)
@@ -2335,7 +2335,8 @@ be started before the ~tun~ device has appeared.
 
 - name: Reload Systemd.
   become: yes
-  command: systemctl daemon-reload
+  systemd:
+    daemon-reload: yes
 #+END_SRC
 
 Finally, Kamailio can be configured and started.
@@ -2458,7 +2459,8 @@ list, and to disable its cache and stub listener.
 
 - name: Reload Systemd.
   become: yes
-  command: systemctl daemon-reload
+  systemd:
+    daemon-reload: yes
 
 - name: Restart Systemd resolved.
   become: yes
@@ -5218,7 +5220,8 @@ and include the institute's private domain in their search lists.
 ---
 - name: Reload Systemd.
   become: yes
-  command: systemctl daemon-reload
+  systemd:
+    daemon-reload: yes
 
 - name: Restart Systemd resolved.
   become: yes
index 75255bdab8fb9a4c78160323916fc45a692deba1..e569fd64bfc45f50d227cface9bbbc662e1b1cc9 100644 (file)
@@ -1,7 +1,8 @@
 ---
 - name: Reload Systemd.
   become: yes
-  command: systemctl daemon-reload
+  systemd:
+    daemon-reload: yes
 
 - name: Restart Systemd resolved.
   become: yes
index e5bd621d8639081bc88fffe4bb7ed90450386798..8b8bd1c85daca9981cccbd0659f8871478fe36fb 100644 (file)
@@ -5,7 +5,8 @@
 
 - name: Reload Systemd.
   become: yes
-  command: systemctl daemon-reload
+  systemd:
+    daemon-reload: yes
 
 - name: Restart Systemd resolved.
   become: yes
index 8870c6fdc1850fd616c1852fc10f057ba065c691..d34e472397e98818c2fe0d18882a6178fa7ddbaa 100644 (file)
@@ -46,7 +46,8 @@
 
 - name: Reload Systemd.
   become: yes
-  command: systemctl daemon-reload
+  systemd:
+    daemon-reload: yes
 
 - name: Restart Kamailio.
   become: yes