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: ssh_user:
schema: str! schema: str!
value: value:
tags: [resources/rabbitmq, resource/rabbitmq_config]

View File

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

View File

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