Added rabbitmq connections

This commit is contained in:
Evgeniy L
2015-06-02 17:41:52 +02:00
parent a78e02a665
commit eddd76daa0
6 changed files with 29 additions and 8 deletions

View File

@@ -19,6 +19,7 @@ solar assign -n 'node/node_2 | node/node_1' -r 'resources/docker'
solar assign -n 'node/node_1' -r 'resources/mariadb' solar assign -n 'node/node_1' -r 'resources/mariadb'
solar assign -n 'node/node_1' -r 'resources/keystone' solar assign -n 'node/node_1' -r 'resources/keystone'
solar assign -n 'node/node_1' -r 'resources/haproxy' solar assign -n 'node/node_1' -r 'resources/haproxy'
solar assign -n 'node/node_1' -r 'resources/rabbitmq'
solar connect --profile prf1 solar connect --profile prf1

View File

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

View File

@@ -7,13 +7,13 @@ input:
value: rabbitmq:3-management value: rabbitmq:3-management
container_name: container_name:
schema: str! schema: str!
value: value: rabbitmq_service
management_port: management_port:
schema: str! schema: str!
value: value: 15672
port: port:
schema: str! schema: str!
value: value: 5672
ip: ip:
schema: str! schema: str!
value: value:
@@ -23,3 +23,5 @@ input:
ssh_user: ssh_user:
schema: str! schema: str!
value: value:
tags: [resources/rabbitmq, resource/rabbitmq_service]

View File

@@ -1,4 +1,4 @@
id: keystone_user id: rabbitmq_user
handler: ansible handler: ansible
version: 1.0.0 version: 1.0.0
input: input:
@@ -7,10 +7,10 @@ input:
value: value:
user_name: user_name:
schema: str! schema: str!
value: value: openstack
password: password:
schema: str! schema: str!
value: value: openstack_password
vhost_name: vhost_name:
schema: str! schema: str!
value: value:
@@ -23,3 +23,5 @@ input:
ssh_user: ssh_user:
schema: str! schema: str!
value: value:
tags: [resources/rabbitmq, resource/rabbitmq_user]

View File

@@ -7,7 +7,7 @@ input:
value: value:
vhost_name: vhost_name:
schema: str! schema: str!
value: value: openstack
ip: ip:
schema: str! schema: str!
value: value:
@@ -18,4 +18,4 @@ input:
schema: str! schema: str!
value: value:
tags: [resource/rabbitmq] tags: [resources/rabbitmq, resource/rabbitmq_vhost]

View File

@@ -96,3 +96,17 @@ connections:
filter_resources: [resource/keystone_service_endpoint] filter_resources: [resource/keystone_service_endpoint]
mapping: mapping:
admin_port: keystone_port admin_port: keystone_port
# rabbitmq
- for_resources: [resource/keystone_service]
filter_resources: [resource/keystone_vhost]
mapping: {}
- for_resources: [resource/keystone_service]
filter_resources: [resource/keystone_user]
mapping: {}
- for_resources: [resource/keystone_vhost]
filter_resources: [resource/keystone_user]
mapping:
vhost_name: vhost_name