fix: specify further sudoes settings
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-02-16 15:12:03 +01:00
parent 93fe0a4826
commit 51bf2a08cf
3 changed files with 82 additions and 15 deletions

10
tasks/verify_vars.yml Normal file
View File

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