try pulling in hostvars?

This commit is contained in:
Mark Riedesel 2024-11-20 13:46:52 -06:00
parent 433f2e2158
commit fe1de60c00

View file

@ -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