forked from jakub/ansible
Update initial_install/roles/baseline_sudo/tasks/main.yml
This commit is contained in:
@@ -7,10 +7,11 @@
|
||||
- name: Ensure automation user has passwordless sudo
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/sudoers.d/automation
|
||||
content: "automation ALL=(ALL) NOPASSWD:ALL"
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0440'
|
||||
content: |
|
||||
automation ALL=(ALL:ALL) NOPASSWD: ALL
|
||||
validate: 'visudo -cf %s'
|
||||
|
||||
- name: Ensure sudo binary has correct permissions
|
||||
|
||||
Reference in New Issue
Block a user