bodhi: Use the correct path for rabbitmq certs.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
e180b0b062
commit
855fde87a0
2 changed files with 4 additions and 4 deletions
|
@ -39,13 +39,13 @@
|
|||
app: bodhi
|
||||
secret_name: bodhi-fedora-messaging-crt
|
||||
key: bodhi-cert.pem
|
||||
privatefile: "rabbitmq/{{env}}/pki/issued/<app>.crt"
|
||||
privatefile: "rabbitmq/{{env}}/pki/issued/bodhi{{env}}.crt"
|
||||
when: env == "staging"
|
||||
- role: openshift/secret-file
|
||||
app: bodhi
|
||||
secret_name: bodhi-fedora-messaging-key
|
||||
key: bodhi-key.pem
|
||||
privatefile: "rabbitmq/{{env}}/pki/private/bodhi.key"
|
||||
privatefile: "rabbitmq/{{env}}/pki/private/bodhi{{env}}.key"
|
||||
when: env == "staging"
|
||||
# When we deploy Bodhi 4.0.0 to production, we can drop these fedmsg secrets.
|
||||
- role: openshift/secret-file
|
||||
|
|
|
@ -454,7 +454,7 @@
|
|||
# The when staging should be dropped when we deploy Bodhi 4.0.0 to production.
|
||||
- name: Deploy the fedora-messaging cert
|
||||
copy:
|
||||
src: "{{ private }}/files/rabbitmq/{{env}}/pki/issued/bodhi.crt"
|
||||
src: "{{ private }}/files/rabbitmq/{{env}}/pki/issued/bodhi{{env}}.crt"
|
||||
dest: /etc/fedora-messaging/bodhi-cert.pem
|
||||
mode: 0644
|
||||
owner: apache
|
||||
|
@ -465,7 +465,7 @@
|
|||
# The when staging should be dropped when we deploy Bodhi 4.0.0 to production.
|
||||
- name: Deploy the fedora-messaging key
|
||||
copy:
|
||||
src: "{{ private }}/files/rabbitmq/{{env}}/pki/private/bodhi.key"
|
||||
src: "{{ private }}/files/rabbitmq/{{env}}/pki/private/bodhi{{env}}.key"
|
||||
dest: /etc/fedora-messaging/bodhi-key.pem
|
||||
mode: 0600
|
||||
owner: apache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue