2023-09-11 18:31:03 +02:00
|
|
|
[all:vars]
|
|
|
|
ansible_connection=ssh
|
|
|
|
ansible_user=alpine
|
|
|
|
ansible_ssh_private_key_file=~/.ssh/alpine-cloud
|
|
|
|
|
2023-09-18 17:03:08 +02:00
|
|
|
[admin]
|
|
|
|
192.168.1.111 vm_name=hashi-1 vm_ip=192.168.1.111
|
|
|
|
|
|
|
|
[client]
|
|
|
|
192.168.1.112 vm_name=hashi-2 vm_ip=192.168.1.112
|
|
|
|
|
2023-09-11 18:31:03 +02:00
|
|
|
[consul_node]
|
2023-09-18 17:03:08 +02:00
|
|
|
192.168.1.111 consul_iface=eth0 consul_node_role=server vm_name=hashi-1 vm_ip=192.168.1.111
|
|
|
|
192.168.1.112 consul_iface=eth0 consul_node_role=client vm_name=hashi-2 vm_ip=192.168.1.112
|
2023-09-11 18:31:03 +02:00
|
|
|
|
|
|
|
[consul_node:vars]
|
|
|
|
consul_dc_name=tr4ck
|
2023-09-18 17:03:08 +02:00
|
|
|
|
|
|
|
[nomad_node]
|
|
|
|
192.168.1.111 vm_name=hashi-1 vm_ip=192.168.1.111
|
|
|
|
192.168.1.112 vm_name=hashi-2 vm_ip=192.168.1.112
|