mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-10 15:01:05 +01:00
19 lines
509 B
YAML
19 lines
509 B
YAML
- name: install psutil
|
|
pip:
|
|
name: psutil
|
|
|
|
- name: create backups-cleanup.py
|
|
template: src=backups-cleanup.py.j2 dest=/usr/local/bin/backups-cleanup.py
|
|
|
|
- name: create backups-cleanup.service
|
|
copy:
|
|
src: backups-cleanup.service
|
|
dest: "/etc/systemd/system/backups-cleanup.service"
|
|
notify: restart backups-cleanup.service
|
|
|
|
- name: create backups-cleanup.timer
|
|
copy:
|
|
src: backups-cleanup.timer
|
|
dest: "/etc/systemd/system/backups-cleanup.timer"
|
|
notify: restart backups-cleanup.timer
|