iad2 move: more rabbitmq adjustments
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
5351aa704e
commit
e90ccc11cf
3 changed files with 8 additions and 8 deletions
|
@ -66,7 +66,7 @@
|
|||
thresholds:
|
||||
warning: 10
|
||||
critical: 100
|
||||
when: datacenter != 'iad2'
|
||||
when: datacenter == 'iad2'
|
||||
- batcave
|
||||
- role: grobisplitter
|
||||
when: datacenter == 'iad2'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Create the RabbitMQ users
|
||||
|
||||
- name: setup RabbitMQ
|
||||
hosts: rabbitmq[0]:rabbitmq_stg[0]
|
||||
hosts: rabbitmq[0]:rabbitmq_stg[0]:rabbitmq01.iad2.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
|||
# Now create the app
|
||||
|
||||
- name: make the app be real
|
||||
hosts: os_masters[0]:os_masters_stg[0]
|
||||
hosts: os_masters[0]:os_masters_stg[0]:os-master01.iad2.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
- name: Configure the bodhi virtual host
|
||||
run_once: true
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||
rabbitmq_vhost:
|
||||
name: /bodhi
|
||||
state: present
|
||||
|
@ -48,7 +48,7 @@
|
|||
|
||||
- name: Configure the HA policy for the bodhi queues
|
||||
run_once: true
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||
rabbitmq_policy:
|
||||
name: HA
|
||||
apply_to: queues
|
||||
|
@ -65,7 +65,7 @@
|
|||
|
||||
- name: Grant the admin user access to the bodhi vhost
|
||||
run_once: true
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||
rabbitmq_user:
|
||||
user: admin
|
||||
vhost: /bodhi
|
||||
|
@ -80,7 +80,7 @@
|
|||
|
||||
- name: Grant the nagios-monitoring user access to the bodhi vhost
|
||||
run_once: true
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||
rabbitmq_user:
|
||||
user: nagios-monitoring
|
||||
vhost: /bodhi
|
||||
|
@ -111,7 +111,7 @@
|
|||
|
||||
- name: Grant the bodhi user access to the bodhi vhost
|
||||
run_once: true
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||
rabbitmq_user:
|
||||
user: "bodhi{{ env_suffix }}"
|
||||
vhost: /bodhi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue