the-new-hotness, release-monitoring: Add env_suffix
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
c9a1543185
commit
98fff91df9
2 changed files with 2 additions and 32 deletions
|
@ -13,7 +13,7 @@
|
|||
tasks:
|
||||
- name: Create the RabbitMQ user
|
||||
rabbitmq_user:
|
||||
user: "anitya"
|
||||
user: "anitya{{ env_suffix }}"
|
||||
vhost: /pubsub
|
||||
read_priv: "^anitya.*$"
|
||||
write_priv: "amq.topic"
|
||||
|
@ -49,25 +49,11 @@
|
|||
secret_name: release-monitoring-fedora-messaging-key
|
||||
key: fedora-messaging-release-monitoring.key
|
||||
privatefile: "rabbitmq/{{env}}/pki/private/anitya{{env_suffix}}.key"
|
||||
when: env == "staging"
|
||||
- role: openshift/secret-file
|
||||
app: release-monitoring
|
||||
secret_name: release-monitoring-fedora-messaging-cert
|
||||
key: fedora-messaging-release-monitoring.crt
|
||||
privatefile: "rabbitmq/{{env}}/pki/issued/anitya{{env_suffix}}.crt"
|
||||
when: env == "staging"
|
||||
- role: openshift/secret-file
|
||||
app: release-monitoring
|
||||
secret_name: release-monitoring-fedora-messaging-key
|
||||
key: fedora-messaging-release-monitoring.key
|
||||
privatefile: "rabbitmq/{{env}}/pki/private/anitya.key"
|
||||
when: env != "staging"
|
||||
- role: openshift/secret-file
|
||||
app: release-monitoring
|
||||
secret_name: release-monitoring-fedora-messaging-cert
|
||||
key: fedora-messaging-release-monitoring.crt
|
||||
privatefile: "rabbitmq/{{env}}/pki/issued/anitya.crt"
|
||||
when: env != "staging"
|
||||
- role: openshift/object
|
||||
app: release-monitoring
|
||||
file: imagestream.yml
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
roles:
|
||||
- role: rabbit/queue
|
||||
username: the-new-hotness
|
||||
username: the-new-hotness{{ env_suffix }}
|
||||
queue_name: the-new-hotness
|
||||
routing_keys:
|
||||
- "#"
|
||||
|
@ -32,28 +32,12 @@
|
|||
secret_name: the-new-hotness-fedora-messaging-key
|
||||
key: fedora-messaging-the-new-hotness.key
|
||||
privatefile: "rabbitmq/{{env}}/pki/private/the-new-hotness{{env_suffix}}.key"
|
||||
when: env == "staging"
|
||||
|
||||
- role: openshift/secret-file
|
||||
app: the-new-hotness
|
||||
secret_name: the-new-hotness-fedora-messaging-cert
|
||||
key: fedora-messaging-the-new-hotness.crt
|
||||
privatefile: "rabbitmq/{{env}}/pki/issued/the-new-hotness{{env_suffix}}.crt"
|
||||
when: env == "staging"
|
||||
|
||||
- role: openshift/secret-file
|
||||
app: the-new-hotness
|
||||
secret_name: the-new-hotness-fedora-messaging-key
|
||||
key: fedora-messaging-the-new-hotness.key
|
||||
privatefile: "rabbitmq/{{env}}/pki/private/the-new-hotness.key"
|
||||
when: env != "staging"
|
||||
|
||||
- role: openshift/secret-file
|
||||
app: the-new-hotness
|
||||
secret_name: the-new-hotness-fedora-messaging-cert
|
||||
key: fedora-messaging-the-new-hotness.crt
|
||||
privatefile: "rabbitmq/{{env}}/pki/issued/the-new-hotness.crt"
|
||||
when: env != "staging"
|
||||
|
||||
- role: openshift/object
|
||||
app: the-new-hotness
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue