From 460b28e0c5ccf96d30cf255c9986b168305eea90 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 9 Sep 2020 11:32:02 -0700 Subject: [PATCH] git/hooks: Only install the batcave certs on batcave, not pkgs Signed-off-by: Kevin Fenzi --- roles/git/hooks/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/git/hooks/tasks/main.yml b/roles/git/hooks/tasks/main.yml index b00280e12c..3adf4b40f3 100644 --- a/roles/git/hooks/tasks/main.yml +++ b/roles/git/hooks/tasks/main.yml @@ -37,6 +37,7 @@ - batcave - config - fedora-messaging + when: inventory_hostname.startswith('batcave') - name: create folder where we'll place the certs file: path=/etc/pki/rabbitmq/ owner=root group=root mode=0755 state=directory @@ -45,6 +46,7 @@ - git/hooks - config - fedora-messaging + when: inventory_hostname.startswith('batcave') - name: install the rabbitmq certificates for batcave copy: src={{ item.src }} @@ -71,6 +73,7 @@ - git/hooks - config - fedora-messaging + when: inventory_hostname.startswith('batcave') - name: install the git hooks copy: src={{item}} dest=/usr/share/git-core/ mode=0755