1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #27 from iiab/master

sync from iiab/iiab
This commit is contained in:
A Holt 2017-11-09 08:30:13 -05:00 committed by GitHub
commit 17353e38e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,8 @@
# backup=yes
- name: Edit the sudoers file -- first make it editable
shell: chmod 0640 /etc/sudoers
file: path=/etc/sudoers
mode=0640
- name: Have sudo log all commands it handles
lineinfile: regexp=logfile
@ -52,4 +53,5 @@
dest=/etc/sudoers
- name: End editing the sudoers file -- protect it again
shell: chmod 0440 /etc/sudoers
file: path=/etc/sudoers
mode=0440