Use groups instead of boolean group varibles.
This commit is contained in:
parent
ad76bbd1f1
commit
e3db074ba7
3 changed files with 148 additions and 150 deletions
|
@ -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:
|
||||
|
|
|
@ -26,4 +26,4 @@
|
|||
deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-proposed-updates
|
||||
main non-free-firmware
|
||||
state: present
|
||||
when: proposed_updates | default(False)
|
||||
when: inventory_hostname in groups["R202"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue