ctucx.git: ansible-configs

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

commit 1c098ff761d5a11d94859500be3314519965856a
parent fda43ef4af5605406c0cff82e0ff9cff02284324
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 28 Feb 2021 22:51:10 +0100

roles/nginx: remove default.config
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/roles/nginx/tasks/configure.yml b/roles/nginx/tasks/configure.yml
@@ -8,6 +8,11 @@
   when: 
     - services.acme_redirect.enable is true
 
+- name: "Remove file: /etc/nginx/conf.d/default.conf"
+  file:
+    path: /etc/nginx/conf.d/default.conf
+    state: absent
+
 - name: Download dh-params from mozilla to /etc/nginx/dhparam
   get_url:
     url: https://ssl-config.mozilla.org/ffdhe2048.txt