Update to Dimension's version

This commit is contained in:
2022-07-02 11:08:11 +01:00
parent 87dee9b3fa
commit d71a4ace92
16 changed files with 184 additions and 41 deletions

26
tasks/cron.yaml Normal file
View File

@@ -0,0 +1,26 @@
---
- name: Enable crond
ansible.builtin.service:
name: crond
state: started
enabled: true
- name: Set cron file security
ansible.builtin.file:
path: "{{ item }}"
owner: root
group: root
mode: "0600"
loop:
- /etc/crontab
- name: Set cron.* directory security
ansible.builtin.file:
path: "{{ item }}"
owner: root
group: root
mode: "0700"
loop:
- /etc/cron.hourly
- /etc/cron.daily
- /etc/cron.weekly
- /etc/cron.monthly
- /etc/cron.d