Renamed health services

This commit is contained in:
2023-11-16 15:32:29 +01:00
parent 04f69aefde
commit d9d6c8060a
47 changed files with 162 additions and 162 deletions

View File

@@ -0,0 +1,22 @@
- name: "create {{disc_space_check_folder}}"
file:
path: "{{disc_space_check_folder}}"
state: directory
mode: 0755
- name: create health-disc-space.sh
copy:
src: health-disc-space.sh
dest: "{{disc_space_check_folder}}health-disc-space.sh"
- name: create health-disc-space.service
template:
src: health-disc-space.service.j2
dest: /etc/systemd/system/health-disc-space.service
notify: reload health-disc-space.service
- name: create health-disc-space.timer
template:
src: health-disc-space.timer.j2
dest: /etc/systemd/system/health-disc-space.timer
notify: restart health-disc-space.timer