From 5927f7b32168aa547bd1f72c786690c524f7cd40 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 15 Jan 2021 11:39:26 -0800 Subject: [PATCH] distgit / hooks: only tweak perms on batcave hooks perms Signed-off-by: Kevin Fenzi --- roles/distgit/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index cb07ce03d0..79889e375c 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -131,6 +131,7 @@ state: present tags: - distgit + when: inventory_hostname.startswith('batcave') - name: Make sure apache can access the fedora-messasing crt acl: @@ -141,6 +142,7 @@ state: present tags: - distgit + when: inventory_hostname.startswith('batcave') - name: Make sure apache can access the fedora-messasing key acl: @@ -151,6 +153,7 @@ state: present tags: - distgit + when: inventory_hostname.startswith('batcave') - name: create the distgit root directory (/srv/git) file: dest=/srv/git state=directory mode=0755