ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit ada31f0eaad600d0391c367127026a37a9cc25d9
parent a844d4c578f77c71106a391809390b0d05ade838
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 23 Feb 2021 18:57:46 +0100

roles/radicale: fixes
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/roles/radicale/tasks/configure.yml b/roles/radicale/tasks/configure.yml
@@ -26,8 +26,10 @@
     mode: 0755
     owner: root
     group: root
+  changed_when: false
 
 - name: "Copy InfCloud-config to: /usr/share/webapps/infcloud/config.js"
   copy:
     src: infcloud-config.js
     dest: /usr/share/webapps/infcloud/config.js
+  changed_when: false
diff --git a/roles/radicale/tasks/nginx.yml b/roles/radicale/tasks/nginx.yml
@@ -7,17 +7,4 @@
     mode: 0644
     owner: nginx
     group: nginx
-
-- name: "[OpenRC] Restart service: nginx"
-  service:
-    name: nginx
-    state: restarted
-  when:
-    - ansible_service_mgr == "openrc"
-
-- name: "[systemd] Restart service: nginx"
-  systemd:
-    name: nginx
-    state: restarted
-  when:
-    - ansible_service_mgr == "systemd"
+  notify: "Restart nginx"+
\ No newline at end of file