Fix ansible run during installation with limitted groups.

This commit is contained in:
Andreas B. Mundt 2024-02-24 09:30:48 +01:00
parent 8856b74e91
commit ed7dadf612
3 changed files with 3 additions and 3 deletions

View file

@ -26,4 +26,4 @@
deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-proposed-updates
main non-free-firmware
state: present
when: inventory_hostname in groups["R202"]
when: groups.R202 is defined and inventory_hostname in groups.R202