upt playbook

This commit is contained in:
jaydee 2023-10-15 12:21:28 +02:00
parent 2e536a85bd
commit 6a8b0336f4
3 changed files with 8 additions and 8 deletions

10
hosts
View File

@ -58,12 +58,12 @@ ansible_user=jd
ansible_password=lacijaydee ansible_password=lacijaydee
[odroid] [odroid]
192.168.77.161 192.168.77.131
[odroid2] [odroid2]
192.168.77.162 192.168.77.132
192.168.77.163 192.168.77.133
192.168.77.164 192.168.77.134
192.168.77.165 192.168.77.135
[od:children] [od:children]
odroid odroid

View File

@ -5,12 +5,12 @@ datacenter:
children: children:
odroid_master: odroid_master:
hosts: hosts:
192.168.77.161: 192.168.77.131:
vars: vars:
testVar: 999 testVar: 999
odroid_worker: odroid_worker:
hosts: hosts:
192.168.77.16[2:5]: 192.168.77.13[2:5]:
vars: vars:
ansible_ssh_user: jd ansible_ssh_user: jd

View File

@ -1,4 +1,4 @@
- hosts: morefine - hosts: odroid_cluster
name: Apt udate name: Apt udate
become: true become: true
tasks: tasks: