fix: value must be stored as a dictionary/hash
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 12s
Ansible Linter / ansible-lint (push) Successful in 43s

This commit is contained in:
Markus Pesch 2025-04-21 22:51:40 +02:00
parent f74836f533
commit c7477a9c2a
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -1,8 +1,8 @@
--- ---
- name: Verify if not user and group exists for each entry # - name: Verify if not user and group exists for each entry
ansible.builtin.assert: # ansible.builtin.assert:
that: # that:
- (item.user is defined and item.group is not defined) or # - (item.user is defined and item.group is not defined) or
(item.user is not defined and item.group is defined) # (item.user is not defined and item.group is defined)
with_items: "{{ sudo_users_sudoers }}" # with_items: "{{ sudo_users_sudoers }}"