crontab desactivé par défaut pour crontab à 5h tout les jours s-backup sur partage smb s-win

This commit is contained in:
root 2023-01-26 11:43:00 +01:00
parent acb722461c
commit 3dac065600
2 changed files with 16 additions and 1 deletions

View File

@ -2,7 +2,22 @@
apt:
name:
- rsync
- smbclient
- smbclient
- cifs-utils
state: present
- name: copie script backupsmb dans /usr/local/bin
copy:
src: backupsmb.sh
dest: /usr/local/bin
owner: root
group: root
mode: '0755'
- name: crontab backupsmb ( commentee par defaut )
cron:
name: backupsmb
disabled: true
minute: "0"
hour: "5"
job: "/usr/local/bin/backupsmb.sh"