Vladislav Belogrudov 2887c6d2e4 Add missing slash if docker registry is specified
If user specifies registry a full image name is constructed by
concatenation of the registry, namespace and image. Currently
concatenation does not include '/' if registry is non-empty but
it should. If registry is empty '/' is not required.
This fix covers both use cases with help of Ansible filter.

Change-Id: I0588dd0da55d777e6caa7eb47d51b2435d38d5e0
Closes-Bug: #1479013
2015-07-31 18:38:16 +03:00

23 lines
903 B
YAML

---
project_name: "rabbitmq"
####################
# Docker
####################
docker_message_broker_registry: "{{ docker_registry ~ '/' if docker_registry else '' }}"
docker_message_broker_namespace: "{{ docker_namespace }}"
kolla_message_broker_base_distro: "{{ kolla_base_distro }}"
kolla_message_broker_install_type: "{{ kolla_install_type }}"
kolla_message_broker_container_name: "rabbitmq"
docker_message_broker_image: "{{ docker_message_broker_registry }}{{ docker_message_broker_namespace }}/{{ kolla_message_broker_base_distro }}-{{ kolla_message_broker_install_type }}-{{ kolla_message_broker_container_name }}"
docker_message_broker_tag: "{{ openstack_release }}"
docker_message_broker_image_full: "{{ docker_message_broker_image }}:{{ docker_message_broker_tag }}"
####################
# Message-Broker
####################
rabbitmq_user: "openstack"
rabbitmq_cluster_name: "openstack"