No PXE boot by default; update inventory.

This commit is contained in:
Andreas B. Mundt 2023-10-07 09:34:23 +02:00
parent 53349e3ece
commit 022e8ff19b
2 changed files with 40 additions and 1 deletions

View file

@ -37,6 +37,22 @@ R407:
hosts:
10.190.12.[1:18]:
10.190.12.80:
C051:
hosts:
10.190.22.[1:32]:
10.190.22.[80:81]:
C055:
hosts:
10.190.24.[1:32]:
10.190.24.80:
C061:
hosts:
10.190.21.[1:12]:
10.190.21.80:
C062:
hosts:
10.190.20.[1:16]:
10.190.20.80:
K200:
hosts:
@ -64,6 +80,14 @@ K400:
10.190.97.131:
10.190.97.141:
10.190.97.151:
CK001:
hosts:
10.190.90.[152:159]:
DK21:
hosts:
10.190.87.11:
10.190.87.21:
10.190.87.31:
L200:
hosts:
@ -71,10 +95,15 @@ L200:
L300:
hosts:
10.190.52.61:
10.190.52.[91:92]:
# 10.190.52.[1:10]:
L400:
hosts:
# 10.190.53.[1:10]:
CL000:
hosts:
10.190.89.59:
10.190.89.60:
PCroom:
children:
@ -86,13 +115,22 @@ PCroom:
R319:
R406:
R407:
C052: # Laptops
C055: # Laptops
C061:
C062:
vars:
boot_pxe: True
Kroom:
children:
K200:
K300:
K400:
CK001:
DK21:
Lroom:
children:
L200:
L300:
L400:
CL000:

View file

@ -103,10 +103,11 @@
name: pwroff.timer
enabled: true
- name: Fix boot order
- name: PXE first boot order
command: /usr/local/sbin/bootorder.sh
register: cmd_result
changed_when: cmd_result.stdout is not search('Nothing to do.')
when: boot_pxe | default(False)
- name: Copy dolphin config scripts
ansible.builtin.copy: