hosts.yml (view raw)
1all:
2 children:
3 fasco:
4 children:
5 python:
6 hosts:
7 grazia:
8 ansible_host: "{{ subnet }}214"
9 node:
10 hosts:
11 corrado:
12 ansible_host: "{{ subnet }}78"
13 ssh:
14 hosts:
15 federica:
16 ansible_host: "{{ subnet }}186"
17 aurora:
18 ansible_host: "{{ subnet }}188"
19 mattia:
20 ansible_host: "{{ subnet }}199"
21 vars:
22 ansible_user: "user"
23 home:
24 hosts:
25 marco:
26 ansible_host: "{{ home_ip }}"
27 vars:
28 ansible_user: "marco"
29 vars:
30 ansible_connection: "ssh"
31 ansible_ssh_private_key_file: "~/.ssh/id_rsa"