Use groups instead of boolean group varibles.

This commit is contained in:
Andreas B. Mundt 2024-02-21 20:09:06 +01:00
parent ad76bbd1f1
commit e3db074ba7
3 changed files with 148 additions and 150 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: boot_pxe | default(False)
when: inventory_hostname in groups["PCroom"]
- name: Copy dolphin config scripts
ansible.builtin.copy: