Initial import of existing role

This commit is contained in:
2022-07-02 11:03:13 +01:00
commit 87dee9b3fa
11 changed files with 226 additions and 0 deletions

9
tasks/sudo.yaml Normal file
View 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"