mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-14 17:01:05 +01:00
23 lines
727 B
YAML
23 lines
727 B
YAML
- 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
|
|
notify: reload journalctl-health-check.service
|
|
|
|
- name: create journalctl-health-check.timer
|
|
template:
|
|
src: journalctl-health-check.timer.j2
|
|
dest: /etc/systemd/system/journalctl-health-check.timer
|
|
notify: restart journalctl-health-check.timer
|