ctucx.git: ansible-configs

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

commit c7183d1138948dcbf952da7b34e12a953cd6b583
parent 0711f9d2ad9365303e4e8dfe1c38fd3cb9b3cae4
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 23 Oct 2021 14:24:35 +0200

configuration/lollo: expose aurto repo @ repo.home.ctu.cx
1 file changed, 13 insertions(+), 0 deletions(-)
M
configuration/lollo.yml
|
13
+++++++++++++
diff --git a/configuration/lollo.yml b/configuration/lollo.yml
@@ -212,6 +212,9 @@ services:
       music.home.ctu.cx:
         renewTasks:
           - systemctl restart nginx
+      repo.home.ctu.cx:
+        renewTasks:
+          - systemctl restart nginx
       influx.home.ctu.cx:
         renewTasks:
           - systemctl restart nginx

@@ -270,6 +273,15 @@ services:
         locations:
           - path: /node-exporter
             proxy: http://127.0.0.1:9100/metrics
+      repo.home.ctu.cx:
+        ssl:
+          enable: true
+          cert: "/var/lib/acme-redirect/live/repo.home.ctu.cx/fullchain"
+          privkey: "/var/lib/acme-redirect/live/repo.home.ctu.cx/privkey"
+        locations:
+          - path: /
+            directoryListing: true
+            root: /var/cache/pacman/aurto
       dnsmasq.home.ctu.cx:
         root: /var/lib/websites/dnsmasq.home.ctu.cx
         extraConfig: "

@@ -362,6 +374,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
       - isa-nuc.home.ctu.cx,                195.39.246.41,   2a0f:4ac0:acab::41
+      - repo.home.ctu.cx,                   195.39.246.33,   2a0f:4ac0:acab::1
     dns_servers:
       - 1.1.1.1
       - 1.0.0.1