Merge "Explicitly use rabbitmq collection"
This commit is contained in:
1 changed files with 5 additions and 5 deletions
@@ -65,7 +65,7 @@
- skip_ansible_lint
- name:Configure rabbitmq plugins (ansible 2.10.x with rabbitmq collection)
rabbitmq_plugin:
community.rabbitmq.rabbitmq_plugin:
names:"{{ item.name }}"
state:"{{ item.state }}"
broker_state:offline
@@ -76,7 +76,7 @@
when:ansible_version.full is version('2.10', '>')
- name:Configure rabbitmq plugins (ansible 2.9.x)
rabbitmq_plugin:
community.rabbitmq.rabbitmq_plugin:
names:"{{ item.name }}"
state:"{{ item.state }}"
with_items:"{{ rabbitmq_plugins }}"
@@ -89,7 +89,7 @@
when:rabbit_config is changed or rabbitmq_plugin is changed or cookie_set is changed or rabbitmq_upgrade | bool
- name:Apply rabbitmq policies
rabbitmq_policy:
community.rabbitmq.rabbitmq_policy:
node:"rabbit@{{ ansible_hostname }}"
name:"{{ item.name }}"
pattern:"{{ item.pattern }}"
@@ -110,7 +110,7 @@
# to fix this issue this task being being done in two parts to ensure
# that the "guest" user is eradicated.
- name:Ensure default rabbitmq guest user is removed
rabbitmq_user:
community.rabbitmq.rabbitmq_user:
node:"rabbit@{{ ansible_hostname }}"
user:guest
state:absent
@@ -119,7 +119,7 @@
- rabbitmq-user
- name:Ensure default rabbitmq guest user is removed
rabbitmq_user:
community.rabbitmq.rabbitmq_user:
node:"rabbit@{{ ansible_hostname }}"
user:guest
state:absent
Reference in New Issue
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.