crontab desactivé par défaut pour crontab à 5h tout les jours s-backup sur partage smb s-win
This commit is contained in:
parent
acb722461c
commit
3dac065600
@ -2,7 +2,22 @@
|
|||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- rsync
|
- rsync
|
||||||
- smbclient
|
- smbclient
|
||||||
- cifs-utils
|
- cifs-utils
|
||||||
state: present
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user