Make tests for group membership more readable
This commit is contained in:
parent
8a25609749
commit
77f4643628
9 changed files with 24 additions and 24 deletions
|
@ -38,7 +38,7 @@
|
|||
line: 'SystemGroup root lpadmin role-teacher'
|
||||
regexp: '^SystemGroup'
|
||||
state: present
|
||||
when: groups.teacherlaptop is defined and inventory_hostname in groups.teacherlaptop
|
||||
when: "'teacherlaptop' in group_names"
|
||||
|
||||
- name: Disable cups-browsed
|
||||
ansible.builtin.systemd:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue