mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
pkgs: install correct git-hook certs
Install the 'git-hooks' cert for use with git commits and package uploads on pkgs. Before this we were... just not installing those anymore and they had expired. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -59,6 +59,33 @@
|
||||
- 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')
|
||||
|
||||
- name: install the git hooks
|
||||
copy: src={{item}} dest=/usr/share/git-core/ mode=0755
|
||||
with_items:
|
||||
|
||||
Reference in New Issue
Block a user