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:
|
thresholds:
|
||||||
warning: 10
|
warning: 10
|
||||||
critical: 100
|
critical: 100
|
||||||
when: datacenter != 'iad2'
|
when: datacenter == 'iad2'
|
||||||
- batcave
|
- batcave
|
||||||
- role: grobisplitter
|
- role: grobisplitter
|
||||||
when: datacenter == 'iad2'
|
when: datacenter == 'iad2'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Create the RabbitMQ users
|
# Create the RabbitMQ users
|
||||||
|
|
||||||
- name: setup RabbitMQ
|
- name: setup RabbitMQ
|
||||||
hosts: rabbitmq[0]:rabbitmq_stg[0]
|
hosts: rabbitmq[0]:rabbitmq_stg[0]:rabbitmq01.iad2.fedoraproject.org
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
# Now create the app
|
# Now create the app
|
||||||
|
|
||||||
- name: make the app be real
|
- 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
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
- name: Configure the bodhi virtual host
|
- name: Configure the bodhi virtual host
|
||||||
run_once: true
|
run_once: true
|
||||||
delegate_to: "rabbitmq01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
delegate_to: "rabbitmq01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||||
rabbitmq_vhost:
|
rabbitmq_vhost:
|
||||||
name: /bodhi
|
name: /bodhi
|
||||||
state: present
|
state: present
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
- name: Configure the HA policy for the bodhi queues
|
- name: Configure the HA policy for the bodhi queues
|
||||||
run_once: true
|
run_once: true
|
||||||
delegate_to: "rabbitmq01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
delegate_to: "rabbitmq01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||||
rabbitmq_policy:
|
rabbitmq_policy:
|
||||||
name: HA
|
name: HA
|
||||||
apply_to: queues
|
apply_to: queues
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
|
|
||||||
- name: Grant the admin user access to the bodhi vhost
|
- name: Grant the admin user access to the bodhi vhost
|
||||||
run_once: true
|
run_once: true
|
||||||
delegate_to: "rabbitmq01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
delegate_to: "rabbitmq01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||||
rabbitmq_user:
|
rabbitmq_user:
|
||||||
user: admin
|
user: admin
|
||||||
vhost: /bodhi
|
vhost: /bodhi
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
|
|
||||||
- name: Grant the nagios-monitoring user access to the bodhi vhost
|
- name: Grant the nagios-monitoring user access to the bodhi vhost
|
||||||
run_once: true
|
run_once: true
|
||||||
delegate_to: "rabbitmq01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
delegate_to: "rabbitmq01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||||
rabbitmq_user:
|
rabbitmq_user:
|
||||||
user: nagios-monitoring
|
user: nagios-monitoring
|
||||||
vhost: /bodhi
|
vhost: /bodhi
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
|
|
||||||
- name: Grant the bodhi user access to the bodhi vhost
|
- name: Grant the bodhi user access to the bodhi vhost
|
||||||
run_once: true
|
run_once: true
|
||||||
delegate_to: "rabbitmq01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
delegate_to: "rabbitmq01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||||
rabbitmq_user:
|
rabbitmq_user:
|
||||||
user: "bodhi{{ env_suffix }}"
|
user: "bodhi{{ env_suffix }}"
|
||||||
vhost: /bodhi
|
vhost: /bodhi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue