Commit e6fcd44c authored by Francesco Gionghi's avatar Francesco Gionghi
Browse files

fix sudo permission

parent d631e2ba
......@@ -11,6 +11,7 @@
file.managed:
- name: /etc/sudoers.d/{{ user }}-cmd
- source: salt://fbkusers/files/sudo.cmd
- mode: 0440
- template: jinja
- defaults:
sudouser: {{ user }}
......
......@@ -14,6 +14,7 @@
- name: /etc/sudoers.d/alias-{{ service }}
- source: salt://fbkusers/files/sudo.systemctl
- template: jinja
- mode: 0440
- defaults:
user: {{ user }}
service: {{ service }}
......@@ -23,6 +24,7 @@
file.managed:
- source: salt://fbkusers/files/sudo.user
- template: jinja
- mode: 0440
- defaults:
user: {{ user }}
service: {{ service }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment