ctucx.git: ansible-configs

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

commit 4d75692f5ac4d64e45cf596e209084182587f80f
parent ea80fe8e53597fea0fdcd4fabec139d7873768b2
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 6 Apr 2021 18:37:23 +0200

configuration/taurus: move photos page to osterei
1 file changed, 5 insertions(+), 27 deletions(-)
M
configuration/taurus.yml
|
32
+++++---------------------------
diff --git a/configuration/taurus.yml b/configuration/taurus.yml
@@ -60,11 +60,11 @@ files:
     mode:    "0755"
     owner:   "leah"
     group:   "nginx"
-  /var/lib/websites/photos.ctu.cx:
-    state:   "directory"
-    mode:    "0755"
-    owner:   "leah"
-    group:   "nginx"
+#  /var/lib/websites/photos.ctu.cx:
+#    state:   "directory"
+#    mode:    "0755"
+#    owner:   "leah"
+#    group:   "nginx"
   /etc/nginx/passwd/music.ctu.cx:
     state:   "file"
     content: "{{ lookup('diskcache', 'passwordstore', 'Server/{{system.hostname}}/passwd/music.ctu.cx returnall=true')}}"

@@ -106,9 +106,6 @@ services:
       syncthing.taurus.ctu.cx:
         renewTasks:
           - sudo rc-service nginx restart
-      photos.ctu.cx:
-        renewTasks:
-          - sudo rc-service nginx restart
       music.ctu.cx:
         renewTasks:
           - sudo rc-service nginx restart

@@ -224,22 +221,3 @@ services:
       - path: /srv/wanderduene/oeffisearch
         address: 10.0.0.10
         options: rw,fsid=2,sync,no_subtree_check,no_auth_nlm,insecure,no_root_squash
-
-  ctucxGallery:
-    enable: true
-    user: leah
-    sourceDir: /home/leah/syncthing/Pictures/photos.ctu.cx
-    targetDir: /var/lib/websites/photos.ctu.cx
-    site:
-      name: ctucx' photos
-      author: ctucx
-      description: photos that i made
-      tags: ctucx, ctucx bahnbilder
-    nginx:
-      enable: true
-      domain: "photos.ctu.cx"
-      sslOnly: true
-      ssl:
-        enable: true
-        cert: "/var/lib/acme-redirect/live/photos.ctu.cx/fullchain"
-        privkey: "/var/lib/acme-redirect/live/photos.ctu.cx/privkey"