Fixes for variable ceph use

This commit is contained in:
Egon Rijpkema 2018-06-20 16:01:30 +02:00
parent 7cc4e17189
commit c0555cdcfa
2 changed files with 13 additions and 12 deletions

View File

@ -32,10 +32,11 @@ ExecStart=/usr/bin/docker run --name %n \
-e "RABBIT_HOST={{ hostvars[groups['rabbitmq'][0]]['listen_ip'] | default(hostvars[groups['rabbitmq'][0]]['ansible_default_ipv4']['address']) }}" \
-e "RABBIT_PASSWORD={{ secrets['RABBIT_PASSWORD'] }}" \
-e "RABBIT_USER=openstack" \
-e "$MON_INITIAL_MEMBERS={{ ceph_mon_initial_members }} \
-e "$MON_HOST={{ ceph_mon_host }}" \
-e "$PUBLIC_NETWORK={{ ceph_public_network }}" \
-e "$OSD_POOL_DEFAULT_SIZE={{ ceph_osd_pool_default_size }}" \
-e "USE_CEPH={{ use_ceph }}" \
-e "MON_INITIAL_MEMBERS={{ ceph_mon_initial_members }}" \
-e "MON_HOST={{ ceph_mon_host }}" \
-e "PUBLIC_NETWORK={{ ceph_public_network }}" \
-e "OSD_POOL_DEFAULT_SIZE={{ ceph_osd_pool_default_size }}" \
--add-host=keystone:{{ hostvars[groups['keystone'][0]]['listen_ip'] | default(hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address']) }} \
--add-host=mariadb:{{ hostvars[groups['databases'][0]]['listen_ip'] | default(hostvars[groups['databases'][0]]['ansible_default_ipv4']['address']) }} \
--privileged \