ansible-role-sudo/tasks/verify_vars.yml
Markus Pesch a07d698f3c
Some checks failed
Ansible Linter / ansible-lint (push) Failing after 46s
Lint Markdown files / markdown-lint (push) Successful in 11s
fix(linter): get running
2025-04-14 22:47:03 +02:00

10 lines
266 B
YAML

---
- 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 }}"