mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-07-23 06:00:00 +02:00
Add absent_groups pillar to remove groups.
This commit is contained in:
@@ -151,3 +151,9 @@ sudoer-{{ name }}:
|
||||
file.absent:
|
||||
- name: /etc/sudoers.d/{{ user }}
|
||||
{% endfor %}
|
||||
|
||||
{% for group in pillar.get('absent_groups', []) %}
|
||||
{{ group }}:
|
||||
group.absent
|
||||
{% endfor %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user