From 820284cff8ec9ee476a59196ef6e4e455ece3739 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 1 May 2023 08:44:35 -0700 Subject: [PATCH] pkgs / git-hooks: try and use the batcave certs for now Signed-off-by: Kevin Fenzi --- roles/git/hooks/tasks/main.yml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/roles/git/hooks/tasks/main.yml b/roles/git/hooks/tasks/main.yml index 517a4a5cf4..b9d2eb4e71 100644 --- a/roles/git/hooks/tasks/main.yml +++ b/roles/git/hooks/tasks/main.yml @@ -57,34 +57,7 @@ - git/hooks - config - fedora-messaging - when: inventory_hostname.startswith('batcave') - -- name: install the rabbitmq certificates for pkgs/dist-git - copy: src={{ item.src }} - dest=/etc/pki/rabbitmq/{{ item.dest }} - owner={{ item.owner }} group={{ item.group}} mode={{ item.mode }} - with_items: - - src: "{{private}}/files/rabbitmq/{{ env }}/pki/issued/git-hooks{{ env_suffix }}.crt" - dest: git-hooks.crt - owner: root - group: packager - mode: "444" - - src: "{{private}}/files/rabbitmq/{{ env }}/pki/private/git-hooks{{ env_suffix }}.key" - dest: git-hooks.key - owner: root - group: packager - mode: "440" - - src: "{{private}}/files/rabbitmq/{{ env }}/pki/ca.crt" - dest: git-hooks.ca - owner: root - group: packager - mode: "444" - tags: - - git - - git/hooks - - config - - fedora-messaging - when: inventory_hostname.startswith('pkgs') + when: inventory_hostname.startswith('batcave') or inventory_hostname.startswith('pkgs') - name: install the git hooks copy: src={{item}} dest=/usr/share/git-core/ mode=0755