updated sudo state
This commit is contained in:
parent
634babbea8
commit
efc304e90d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user