Updated from OpenStack Ansible Tests

Change-Id: Id5875a54ad7b1119bd80f9f10c45bf43c2da3719
This commit is contained in:
OpenStack Proposal Bot
2019年04月17日 07:26:06 +00:00
parent bf3c1e2f82
commit a2bfa3da8d

View File

@@ -33,6 +33,16 @@
name:"{{ _oslomsg_rpc_vhost }}"
state:"present"
- name:Apply RPC RabbitMQ vhost policies
rabbitmq_policy:
node:"rabbit@{{ _oslomsg_rpc_setup_host }}"
name:"{{ item.name }}"
pattern:"{{ item.pattern }}"
priority:"{{ item.priority | default(0) }}"
tags:"{{ item.tags }}"
vhost:"{{ _oslomsg_rpc_vhost }}"
loop:"{{ _oslomsg_rpc_policies | default([]) + oslomsg_rpc_policies }}"
- name:Add RPC RabbitMQ user
rabbitmq_user:
user:"{{ _oslomsg_rpc_userid }}"
@@ -60,6 +70,18 @@
when:
- _oslomsg_notify_vhost != _oslomsg_rpc_vhost
- name:Apply Notify RabbitMQ vhost policies
rabbitmq_policy:
node:"rabbit@{{ _oslomsg_notify_setup_host }}"
name:"{{ item.name }}"
pattern:"{{ item.pattern }}"
priority:"{{ item.priority | default(0) }}"
tags:"{{ item.tags }}"
vhost:"{{ _oslomsg_notify_vhost }}"
loop:"{{ _oslomsg_notify_policies | default([]) + oslomsg_notify_policies }}"
when:
- _oslomsg_notify_vhost != _oslomsg_rpc_vhost
- name:Add Notify RabbitMQ user
rabbitmq_user:
user:"{{ _oslomsg_notify_userid }}"
Reference in New Issue
openstack/openstack-ansible-os_trove
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.