Implemented systemctl error checker

This commit is contained in:
2023-04-15 14:31:18 +02:00
parent d8eb6a7dd3
commit 0f7a2fcb9e
10 changed files with 58 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
- name: "create {{journalctl_health_check_folder}}"
file:
path: "{{journalctl_health_check_folder}}"
state: directory
mode: 0755
- name: create journalctl-health-check.sh
copy:
src: journalctl-health-check.sh
dest: "{{journalctl_health_check_folder}}journalctl-health-check.sh"
- name: create journalctl-health-check.service
template: src=journalctl-health-check.service.j2 dest=/etc/systemd/system/journalctl-health-check.service
- name: create journalctl-health-check.timer
copy:
src: journalctl-health-check.timer
dest: "/etc/systemd/system/journalctl-health-check.timer"
notify: restart journalctl-health-check.timer