General optimations during inventory cleanup

This commit is contained in:
2025-07-14 13:02:06 +02:00
parent b6ee7b9f98
commit e4028fccf4
30 changed files with 27 additions and 26 deletions

View File

@@ -0,0 +1,16 @@
- name: Copy backup script to the scripts directory
copy:
src: svc-bkp-2-usb.python
dest: "{{ backup_to_usb_script_path }}"
owner: root
group: root
mode: '0755'
- name: Copy systemd service to systemd directory
template:
src: svc-bkp-2-usb.service.j2
dest: /etc/systemd/system/svc-bkp-2-usb.cymais.service
owner: root
group: root
mode: '0644'
notify: reload svc-bkp-2-usb.cymais.service