mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
solved sudo bugs in role native-user-administrator
This commit is contained in:
1
roles/native-user-administrator/files/administrator
Normal file
1
roles/native-user-administrator/files/administrator
Normal file
@@ -0,0 +1 @@
|
||||
administrator ALL=(ALL:ALL) ALL
|
@@ -1,2 +0,0 @@
|
||||
Defaults targetpw
|
||||
administrator ALL=(ALL) ALL
|
@@ -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
|
||||
|
Reference in New Issue
Block a user