Release of EvoBSD 6.8.0 #37
|
@ -8,17 +8,26 @@
|
|||
tags:
|
||||
- sudo
|
||||
|
||||
# dont't break the tab!
|
||||
- name: Allow wheel group to run command as root in sudo
|
||||
lineinfile:
|
||||
dest: /etc/sudoers
|
||||
insertafter: '# and set environment variables.'
|
||||
line: '%wheel ALL=(ALL) SETENV: ALL'
|
||||
line: "%wheel\tALL=(ALL) SETENV: ALL"
|
||||
validate: 'visudo -cf %s'
|
||||
backup: false
|
||||
tags:
|
||||
- sudo
|
||||
|
||||
- name: Delete line with space instead of tab
|
||||
lineinfile:
|
||||
dest: /etc/sudoers
|
||||
line: "%wheel ALL=(ALL) SETENV: ALL"
|
||||
validate: 'visudo -cf %s'
|
||||
backup: false
|
||||
state: absent
|
||||
tags:
|
||||
- sudo
|
||||
|
||||
- name: Configure sudoers for evomaintenance and monitoring
|
||||
blockinfile:
|
||||
state: present
|
||||
|
|
Loading…
Reference in a new issue