mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-14 17:01:05 +01:00
16 lines
419 B
YAML
16 lines
419 B
YAML
- name: Copy backup script to the scripts directory
|
|
copy:
|
|
src: backup-to-usb.python
|
|
dest: "{{ backup_to_usb_script_path }}"
|
|
owner: root
|
|
group: root
|
|
mode: '0755'
|
|
|
|
- name: Copy systemd service to systemd directory
|
|
template:
|
|
src: backup-to-usb.service.j2
|
|
dest: /etc/systemd/system/backup-to-usb.service
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
notify: reload backup-to-usb.service |