mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-05 01:41:34 +02:00
Implemented server tact
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
- name: "restart btrfs-health-check.service"
|
||||
- name: "reload btrfs-health-check.service"
|
||||
systemd:
|
||||
name: btrfs-health-check.service
|
||||
state: restarted
|
||||
state: reloaded
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
- name: "restart btrfs-health-check.timer"
|
||||
|
@@ -13,10 +13,10 @@
|
||||
template:
|
||||
src: btrfs-health-check.service.j2
|
||||
dest: /etc/systemd/system/btrfs-health-check.service
|
||||
notify: restart btrfs-health-check.service
|
||||
notify: reload btrfs-health-check.service
|
||||
|
||||
- name: create btrfs-health-check.timer
|
||||
copy:
|
||||
src: btrfs-health-check.timer
|
||||
template:
|
||||
src: btrfs-health-check.timer.j2
|
||||
dest: "/etc/systemd/system/btrfs-health-check.timer"
|
||||
notify: restart btrfs-health-check.timer
|
||||
|
@@ -2,7 +2,7 @@
|
||||
Description=starts btrfs-health-check.service
|
||||
|
||||
[Timer]
|
||||
OnCalendar=12:00
|
||||
OnCalendar={{on_calendar_btrfs_health_check}}
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user