mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-03 21:40:34 +07:00
Split metal group into masters and workers
This commit is contained in:
parent
7667254d7b
commit
7ffb711f03
@ -1,9 +1,13 @@
|
||||
metal:
|
||||
hosts:
|
||||
# metal0: {ansible_host: 192.168.1.110, mac: '00:23:24:d1:f3:f0'}
|
||||
metal1: {ansible_host: 192.168.1.111, mac: '00:23:24:d1:f4:d6'}
|
||||
metal2: {ansible_host: 192.168.1.112, mac: '00:23:24:e7:04:60'}
|
||||
metal3: {ansible_host: 192.168.1.113, mac: '00:23:24:d1:f5:69'}
|
||||
children:
|
||||
masters:
|
||||
hosts:
|
||||
# metal0: {ansible_host: 192.168.1.110, mac: '00:23:24:d1:f3:f0'}
|
||||
metal1: {ansible_host: 192.168.1.111, mac: '00:23:24:d1:f4:d6'}
|
||||
metal2: {ansible_host: 192.168.1.112, mac: '00:23:24:e7:04:60'}
|
||||
workers:
|
||||
hosts:
|
||||
metal3: {ansible_host: 192.168.1.113, mac: '00:23:24:d1:f5:69'}
|
||||
vars:
|
||||
ansible_user: root
|
||||
ansible_ssh_private_key_file: ~/.ssh/id_ed25519
|
||||
|
Loading…
Reference in New Issue
Block a user