Merge "Don't assume etcd group exists in baremetal role"
This commit is contained in:
commit
af77a88775
@ -108,7 +108,7 @@ docker_restart_policy_retry: "10"
|
||||
|
||||
# Extra docker options for Zun
|
||||
docker_configure_for_zun: "no"
|
||||
docker_zun_options: -H fd:// -H tcp://{{ api_interface_address }}:2375 --cluster-store=etcd://{% for host in groups['etcd'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ hostvars[host]['etcd_client_port'] }}{% if not loop.last %},{% endif %}{% endfor %}
|
||||
docker_zun_options: -H fd:// -H tcp://{{ api_interface_address }}:2375 --cluster-store=etcd://{% for host in groups.get('etcd', []) %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ hostvars[host]['etcd_client_port'] }}{% if not loop.last %},{% endif %}{% endfor %}
|
||||
|
||||
# Common options used throughout Docker
|
||||
docker_common_options:
|
||||
|
Loading…
x
Reference in New Issue
Block a user