mirror of
https://github.com/nikdoof/ansible-cis.git
synced 2025-12-23 06:49:30 +00:00
Update to Dimension's version
This commit is contained in:
@@ -1,5 +1,23 @@
|
||||
---
|
||||
- name: restart sshd
|
||||
service:
|
||||
ansible.builtin.service:
|
||||
name: sshd
|
||||
state: restarted
|
||||
- name: init aide
|
||||
ansible.builtin.shell: aide --init; mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
|
||||
args:
|
||||
creates: /var/lib/aide/aide.db.gz
|
||||
async: 300
|
||||
poll: 0
|
||||
- name: remount proc
|
||||
ansible.posix.mount:
|
||||
path: /proc
|
||||
state: remount
|
||||
- name: restart journald
|
||||
ansible.builtin.service:
|
||||
name: systemd-journald
|
||||
state: restarted
|
||||
- name: restart rsyslog
|
||||
ansible.builtin.service:
|
||||
name: rsyslog
|
||||
state: restarted
|
||||
|
||||
Reference in New Issue
Block a user