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