try pulling in hostvars?
This commit is contained in:
parent
433f2e2158
commit
fe1de60c00
1 changed files with 5 additions and 0 deletions
|
@ -6,3 +6,8 @@
|
|||
- name: inspect archinstall result
|
||||
set_fact:
|
||||
archiso_detected: "{{ which_archinstall.rc == 0 }}"
|
||||
|
||||
- name: load alternate host vars
|
||||
include_vars:
|
||||
file: "../../../inventory/host_vars/{{ hostname }}.yaml"
|
||||
when: archiso_detected and hostname is defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue