Fix rabbitmq resources

This commit is contained in:
Evgeniy L 2015-06-03 10:16:01 +02:00
parent eddd76daa0
commit 98a7e4569d
3 changed files with 7 additions and 9 deletions

View File

@ -20,5 +20,3 @@ input:
ssh_user:
schema: str!
value:
tags: [resources/rabbitmq, resource/rabbitmq_config]

View File

@ -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

View File

@ -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