Fix rabbitmq resources
This commit is contained in:
parent
eddd76daa0
commit
98a7e4569d
@ -20,5 +20,3 @@ input:
|
||||
ssh_user:
|
||||
schema: str!
|
||||
value:
|
||||
|
||||
tags: [resources/rabbitmq, resource/rabbitmq_config]
|
||||
|
@ -15,7 +15,7 @@
|
||||
- {{ management_port }}:15672
|
||||
env:
|
||||
RABBITMQ_NODENAME: {{container_name}}
|
||||
- shell: docker exec -t {{ name }} rabbitmqctl list_users
|
||||
- shell: docker exec -t {{ container_name }} rabbitmqctl list_users
|
||||
register: result
|
||||
until: result.rc == 0
|
||||
retries: 20
|
||||
|
@ -98,15 +98,15 @@ connections:
|
||||
admin_port: keystone_port
|
||||
|
||||
# rabbitmq
|
||||
- for_resources: [resource/keystone_service]
|
||||
filter_resources: [resource/keystone_vhost]
|
||||
- for_resources: [resource/rabbitmq_service]
|
||||
filter_resources: [resource/rabbitmq_vhost]
|
||||
mapping: {}
|
||||
|
||||
- for_resources: [resource/keystone_service]
|
||||
filter_resources: [resource/keystone_user]
|
||||
- for_resources: [resource/rabbitmq_service]
|
||||
filter_resources: [resource/rabbitmq_user]
|
||||
mapping: {}
|
||||
|
||||
- for_resources: [resource/keystone_vhost]
|
||||
filter_resources: [resource/keystone_user]
|
||||
- for_resources: [resource/rabbitmq_vhost]
|
||||
filter_resources: [resource/rabbitmq_user]
|
||||
mapping:
|
||||
vhost_name: vhost_name
|
||||
|
Loading…
Reference in New Issue
Block a user