This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
---
|
||||
|
||||
- name: Verify if not user and group exists for each entry
|
||||
tags: [ testa ]
|
||||
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 }}"
|
||||
Reference in New Issue
Block a user