mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Another big round of refactoring and cleaning...
This commit is contained in:
16
roles/svc-sys-bkp-data-to-usb/tasks/main.yml
Normal file
16
roles/svc-sys-bkp-data-to-usb/tasks/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- name: Copy backup script to the scripts directory
|
||||
copy:
|
||||
src: svc-sys-bkp-data-to-usb.python
|
||||
dest: "{{ backup_to_usb_script_path }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0755'
|
||||
|
||||
- name: Copy systemd service to systemd directory
|
||||
template:
|
||||
src: svc-sys-bkp-data-to-usb.service.j2
|
||||
dest: /etc/systemd/system/svc-sys-bkp-data-to-usb.cymais.service
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
notify: reload svc-sys-bkp-data-to-usb.cymais.service
|
Reference in New Issue
Block a user