solved sudo bugs in role native-user-administrator

This commit is contained in:
2021-01-01 12:51:40 +01:00
parent 11deb714b9
commit eca64d5a6a
5 changed files with 14 additions and 4 deletions

View File

@@ -0,0 +1 @@
administrator ALL=(ALL:ALL) ALL

View File

@@ -1,2 +0,0 @@
Defaults targetpw
administrator ALL=(ALL) ALL

View File

@@ -16,5 +16,8 @@
- name: grant administrator sudo rights with password
copy:
src: "administrator.conf"
dest: /etc/sudoers.d/administrator.conf
src: "administrator"
dest: /etc/sudoers.d/administrator
mode: '0644'
owner: root
group: root