updated sudo state

This commit is contained in:
Paul 2023-11-10 13:26:56 +01:00
parent 634babbea8
commit efc304e90d
2 changed files with 1 additions and 3 deletions

View File

@ -2,7 +2,7 @@
{%- from "sudo/map.jinja" import sudo with context %}
sudo-sudoers:
file.managed:
- name: /etc/sudoers
- name: /etc/sudoers.d/common
- source: salt://sudo/templates/sudoers.j2
- user: root
- group: root

View File

@ -12,5 +12,3 @@ Defaults {{ default }}
{% if acl.group %}%{% endif %}{{ key }} {{ acl.host|default('ALL') }}=({{ acl.who|default('ALL') }}) {{ acl.command|default('ALL') }}
{%- endfor %}
{%- endif %}
#includedir /etc/sudoers.d