NewsBlur/ansible/roles/ansible-consul/examples/vagrant_hosts

12 lines
868 B
Text

# File: vagrant_hosts
# Consul cluster node hosts configuration for Vagrant
#
# NB: Replace the hosts below with your preferred node hostnames and continue
# the 'nodeN' pattern for additional nodes past 'consul3'. There should
# be only one node with consul_node_role = "bootstrap"
# Do not modify the labels (text appearing between []), however
[consul_instances]
consul1.consul consul_iface=eth1 consul_node_role=bootstrap ansible_ssh_user=vagrant ansible_ssh_private_key_file=./.vagrant/machines/consul1/virtualbox/private_key
consul2.consul consul_iface=eth1 consul_node_role=server ansible_ssh_user=vagrant ansible_ssh_private_key_file=./.vagrant/machines/consul2/virtualbox/private_key
consul3.consul consul_iface=eth1 consul_node_role=server ansible_ssh_user=vagrant ansible_ssh_private_key_file=./.vagrant/machines/consul3/virtualbox/private_key