Skip to content

Commit

Permalink
Add advertise address using instance floating IP
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandall authored and wtsi-mercury committed Apr 5, 2017
1 parent fd4c62c commit 9c56d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/consul-server/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ consul_is_server: true

consul_bootstrap_expect: "{{ groups['consul-servers'] | count }}"
#consul_bind_address: "{{ ansible_default_ipv4['address'] }}"
consul_advertise_address:
consul_advertise_address: "{{ hostvars[inventory_hostname]['openstack_servers'][0].public_v4 }}"

consul_node_name: "{{ inventory_hostname }}"

Expand Down

0 comments on commit 9c56d7f

Please sign in to comment.