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

@ -136,7 +136,7 @@
command: /usr/local/sbin/bootorder.sh
register: cmd_result
changed_when: cmd_result.stdout is not search('Nothing to do.')
when: inventory_hostname in groups["PCroom"]
when: groups.PCroom is defined and inventory_hostname in groups.PCroom
- name: Copy dolphin config scripts
ansible.builtin.copy: