]> birchwood-abbey.net Git - Network.git/commitdiff
Monkey must be the owner of /var/www/git/ on Front.
authorMatt Birkholz <matt@birchwood-abbey.net>
Sun, 4 Jan 2026 18:55:37 +0000 (11:55 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Sun, 4 Jan 2026 18:55:37 +0000 (11:55 -0700)
This avoids warnings from Monkey's rsync commands.  And as on Front,
so on Core, amen.

README.org
roles_t/abbey-core/tasks/main.yml
roles_t/abbey-front/tasks/main.yml

index 9db7f19926cb18979374a15484a34d60f4546da3..d4b5ddceef8350063b4474f6c01d9bfff86ecb86 100644 (file)
@@ -221,11 +221,18 @@ like ~gitd-tasks~ and ~gitd-handlers~.
   become: yes
   apt: pkg=git
 
+- name: Add Monkey to Staff.
+  user:
+    name: monkey
+    append: yes
+    groups: staff
+
 - name: Create /var/www/git/.
   become: yes
   file:
     path: /var/www/git
     state: directory
+    owner: monkey
     group: staff
     mode: u=rwx,g=srwx,o=rx
 
index 58fdee37eed39e9bc37ecf44b14040206a758974..cd99079a6d391712f8572f6d432a28fa137b2446 100644 (file)
   become: yes
   apt: pkg=git
 
+- name: Add Monkey to Staff.
+  user:
+    name: monkey
+    append: yes
+    groups: staff
+
 - name: Create /var/www/git/.
   become: yes
   file:
     path: /var/www/git
     state: directory
+    owner: monkey
     group: staff
     mode: u=rwx,g=srwx,o=rx
 
index 05ed747e1be944289f4027385ea1dea3d951175f..11b3a7230ec2ff67f14308e2d8f34ec7f12e2273 100644 (file)
   become: yes
   apt: pkg=git
 
+- name: Add Monkey to Staff.
+  user:
+    name: monkey
+    append: yes
+    groups: staff
+
 - name: Create /var/www/git/.
   become: yes
   file:
     path: /var/www/git
     state: directory
+    owner: monkey
     group: staff
     mode: u=rwx,g=srwx,o=rx