diff --git a/inventory/inventory.yml b/inventory/inventory.yml index 7d94e57..1ec28a2 100644 --- a/inventory/inventory.yml +++ b/inventory/inventory.yml @@ -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: diff --git a/roles/lmn_fvs/tasks/main.yml b/roles/lmn_fvs/tasks/main.yml index f4292c8..3289da7 100644 --- a/roles/lmn_fvs/tasks/main.yml +++ b/roles/lmn_fvs/tasks/main.yml @@ -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: