forked from netgroup-polito/edge-infrastructure-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventory
23 lines (17 loc) · 920 Bytes
/
inventory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -----------------------------
# In this file, we define the hosts that we want to manage with Ansible.
#
# We can also define groups of hosts, and use these groups to apply configurations to multiple hosts at once.
#
# [myhosts] is a group that contains all the hosts that we want to manage with Liqo in order to perform the peering.
# local_node is the host where we are running the Liqo control plane.
# -----------------------------
[myhosts]
local_node ansible_user=k3s ansible_ssh_host=192.168.1.137 ansible_ssh_private_key_file=~/.ssh/id_rsa
remote_node ansible_user=netgroup ansible_ssh_host=130.192.225.118 ansible_ssh_private_key_file=~/.ssh/id_rsa
[masters]
#host1 ansible_user=giorgia ansible_ssh_user=giorgia ansible_ssh_host=192.168.1.23 ansible_ssh_private_key_file=~/.ssh/id_rsa
host1 ansible_user=giorgia ansible_host=192.168.1.23
[workers]
[all:vars]
ansible_python_interpreter=/usr/bin/python3