fix: value must be stored as a dictionary/hash
This commit is contained in:
parent
f74836f533
commit
c7477a9c2a
@ -1,8 +1,8 @@
|
||||
---
|
||||
|
||||
- name: Verify if not user and group exists for each entry
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- (item.user is defined and item.group is not defined) or
|
||||
(item.user is not defined and item.group is defined)
|
||||
with_items: "{{ sudo_users_sudoers }}"
|
||||
# - name: Verify if not user and group exists for each entry
|
||||
# ansible.builtin.assert:
|
||||
# that:
|
||||
# - (item.user is defined and item.group is not defined) or
|
||||
# (item.user is not defined and item.group is defined)
|
||||
# with_items: "{{ sudo_users_sudoers }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user