Merge "Updated from OpenStack Ansible Tests"
This commit is contained in:
commit
96a474667f
|
@ -29,12 +29,12 @@
|
||||||
- common-rabbitmq
|
- common-rabbitmq
|
||||||
block:
|
block:
|
||||||
- name: Add RPC RabbitMQ vhost
|
- name: Add RPC RabbitMQ vhost
|
||||||
rabbitmq_vhost:
|
community.rabbitmq.rabbitmq_vhost:
|
||||||
name: "{{ _oslomsg_rpc_vhost }}"
|
name: "{{ _oslomsg_rpc_vhost }}"
|
||||||
state: "present"
|
state: "present"
|
||||||
|
|
||||||
- name: Apply RPC RabbitMQ vhost policies
|
- name: Apply RPC RabbitMQ vhost policies
|
||||||
rabbitmq_policy:
|
community.rabbitmq.rabbitmq_policy:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
pattern: "{{ item.pattern }}"
|
pattern: "{{ item.pattern }}"
|
||||||
priority: "{{ item.priority | default(0) }}"
|
priority: "{{ item.priority | default(0) }}"
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
loop: "{{ _oslomsg_rpc_policies | default([]) + oslomsg_rpc_policies }}"
|
loop: "{{ _oslomsg_rpc_policies | default([]) + oslomsg_rpc_policies }}"
|
||||||
|
|
||||||
- name: Add RPC RabbitMQ user
|
- name: Add RPC RabbitMQ user
|
||||||
rabbitmq_user:
|
community.rabbitmq.rabbitmq_user:
|
||||||
user: "{{ _oslomsg_rpc_userid }}"
|
user: "{{ _oslomsg_rpc_userid }}"
|
||||||
password: "{{ _oslomsg_rpc_password }}"
|
password: "{{ _oslomsg_rpc_password }}"
|
||||||
update_password: always
|
update_password: always
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
- common-rabbitmq
|
- common-rabbitmq
|
||||||
block:
|
block:
|
||||||
- name: Add Notify RabbitMQ vhost
|
- name: Add Notify RabbitMQ vhost
|
||||||
rabbitmq_vhost:
|
community.rabbitmq.rabbitmq_vhost:
|
||||||
name: "{{ _oslomsg_notify_vhost }}"
|
name: "{{ _oslomsg_notify_vhost }}"
|
||||||
state: "present"
|
state: "present"
|
||||||
when:
|
when:
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
(_oslomsg_notify_vhost != _oslomsg_rpc_vhost)
|
(_oslomsg_notify_vhost != _oslomsg_rpc_vhost)
|
||||||
|
|
||||||
- name: Apply Notify RabbitMQ vhost policies
|
- name: Apply Notify RabbitMQ vhost policies
|
||||||
rabbitmq_policy:
|
community.rabbitmq.rabbitmq_policy:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
pattern: "{{ item.pattern }}"
|
pattern: "{{ item.pattern }}"
|
||||||
priority: "{{ item.priority | default(0) }}"
|
priority: "{{ item.priority | default(0) }}"
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
(_oslomsg_notify_vhost != _oslomsg_rpc_vhost)
|
(_oslomsg_notify_vhost != _oslomsg_rpc_vhost)
|
||||||
|
|
||||||
- name: Add Notify RabbitMQ user
|
- name: Add Notify RabbitMQ user
|
||||||
rabbitmq_user:
|
community.rabbitmq.rabbitmq_user:
|
||||||
user: "{{ _oslomsg_notify_userid }}"
|
user: "{{ _oslomsg_notify_userid }}"
|
||||||
password: "{{ _oslomsg_notify_password }}"
|
password: "{{ _oslomsg_notify_password }}"
|
||||||
update_password: always
|
update_password: always
|
||||||
|
|
Loading…
Reference in New Issue