git/hooks: Only install the batcave certs on batcave, not pkgs

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-09-09 11:32:02 -07:00
parent 60c495b013
commit 460b28e0c5

View file

@ -37,6 +37,7 @@
- batcave - batcave
- config - config
- fedora-messaging - fedora-messaging
when: inventory_hostname.startswith('batcave')
- name: create folder where we'll place the certs - name: create folder where we'll place the certs
file: path=/etc/pki/rabbitmq/ owner=root group=root mode=0755 state=directory file: path=/etc/pki/rabbitmq/ owner=root group=root mode=0755 state=directory
@ -45,6 +46,7 @@
- git/hooks - git/hooks
- config - config
- fedora-messaging - fedora-messaging
when: inventory_hostname.startswith('batcave')
- name: install the rabbitmq certificates for batcave - name: install the rabbitmq certificates for batcave
copy: src={{ item.src }} copy: src={{ item.src }}
@ -71,6 +73,7 @@
- git/hooks - git/hooks
- config - config
- fedora-messaging - fedora-messaging
when: inventory_hostname.startswith('batcave')
- name: install the git hooks - name: install the git hooks
copy: src={{item}} dest=/usr/share/git-core/ mode=0755 copy: src={{item}} dest=/usr/share/git-core/ mode=0755