mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-30 00:11:03 +01:00
23 lines
674 B
YAML
23 lines
674 B
YAML
- name: "create {{docker_btrfs_health_check_folder}}"
|
|
file:
|
|
path: "{{docker_btrfs_health_check_folder}}"
|
|
state: directory
|
|
mode: 0755
|
|
|
|
- name: create btrfs-health-check.sh
|
|
copy:
|
|
src: btrfs-health-check.sh
|
|
dest: "{{docker_btrfs_health_check_folder}}btrfs-health-check.sh"
|
|
|
|
- name: create btrfs-health-check.service
|
|
template:
|
|
src: btrfs-health-check.service.j2
|
|
dest: /etc/systemd/system/btrfs-health-check.service
|
|
notify: restart btrfs-health-check.service
|
|
|
|
- name: create btrfs-health-check.timer
|
|
copy:
|
|
src: btrfs-health-check.timer
|
|
dest: "/etc/systemd/system/btrfs-health-check.timer"
|
|
notify: restart btrfs-health-check.timer
|