Use the same cert and key here.

This commit is contained in:
Ralph Bean 2016-01-25 16:19:15 +00:00
parent 3f97589b7d
commit 08a86eb463

View file

@ -45,7 +45,7 @@
tags: tags:
- bugzilla2fedmsg - bugzilla2fedmsg
- name: Copy in the staging certificates - name: Copy in the certs and keys.
copy: > copy: >
src="{{ private }}/files/bugzilla2fedmsg/{{ item }}" src="{{ private }}/files/bugzilla2fedmsg/{{ item }}"
dest="/etc/pki/fedmsg/{{ item }}" dest="/etc/pki/fedmsg/{{ item }}"
@ -53,21 +53,6 @@
with_items: with_items:
- msg-client-fedora-dev.crt - msg-client-fedora-dev.crt
- msg-client-fedora-dev.key - msg-client-fedora-dev.key
when: env == 'staging'
notify:
- restart moksha-hub
tags:
- bugzilla2fedmsg
- name: Copy in the production certificates
copy: >
src="{{ private }}/files/bugzilla2fedmsg/{{ item }}"
dest="/etc/pki/fedmsg/{{ item }}"
mode=0640 owner=fedmsg group=fedmsg
with_items:
- fuse-fabric-fedoraproject.org.crt
- fuse-fabric-fedoraproject.org.key
when: env != 'staging'
notify: notify:
- restart moksha-hub - restart moksha-hub
tags: tags: