mirror of
https://github.com/nikdoof/ansible-cis.git
synced 2025-12-22 06:19:31 +00:00
Initial import of existing role
This commit is contained in:
9
tasks/sudo.yaml
Normal file
9
tasks/sudo.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Ensure sudo access is logged
|
||||
copy:
|
||||
dest: /etc/sudoers.d/logfile.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
content: |
|
||||
Defaults logfile="/var/log/sudo.log"
|
||||
Reference in New Issue
Block a user