ctucx.git: ansible-configs

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

commit 079a192681d221e20c8840081ec03027429e7eda
parent 8ece5727ffbc0b1f9df6bd4d3051df4a2586d886
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 23 Oct 2021 14:29:44 +0200

configuration/lollo: add wiki.home.ctu.cx
1 file changed, 12 insertions(+), 0 deletions(-)
M
configuration/lollo.yml
|
12
++++++++++++
diff --git a/configuration/lollo.yml b/configuration/lollo.yml
@@ -218,6 +218,9 @@ services:
       influx.home.ctu.cx:
         renewTasks:
           - systemctl restart nginx
+      wiki.home.ctu.cx:
+        renewTasks:
+          - systemctl restart nginx
       meme.ctu.cx:
         renewTasks:
           - systemctl restart nginx

@@ -327,6 +330,14 @@ services:
             "
           - path: /assets/
             extraConfig: "alias /home/leah/webmusic-nginx/;"
+      wiki.home.ctu.cx:
+        root: /var/lib/websites/wiki.home.ctu.cx/public
+        enablePhpSupport: true
+        phpSocket: /run/php-fpm/php-fpm.sock
+        ssl:
+          enable: true
+          cert: "/var/lib/acme-redirect/live/wiki.home.ctu.cx/fullchain"
+          privkey: "/var/lib/acme-redirect/live/wiki.home.ctu.cx/privkey"
       meme.ctu.cx:
         root: /var/lib/websites/meme.ctu.cx
         extraConfig: "

@@ -373,6 +384,7 @@ services:
       - music.home.ctu.cx,                  195.39.246.33,   2a0f:4ac0:acab::1
       - influx.home.ctu.cx,                 195.39.246.33,   2a0f:4ac0:acab::1
       - repo.home.ctu.cx,                   195.39.246.33,   2a0f:4ac0:acab::1
+      - wiki.home.ctu.cx,                   195.39.246.33,   2a0f:4ac0:acab::1
     dns_servers:
       - 1.1.1.1
       - 1.0.0.1