/[pdpsoft]/trunk/eu.rcauth.pilot-ica/DS/ansible/roles/delegserver/tasks/dep-general.yml
ViewVC logotype

Diff of /trunk/eu.rcauth.pilot-ica/DS/ansible/roles/delegserver/tasks/dep-general.yml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3076 by msalle, Thu Jul 28 12:59:02 2016 UTC revision 3077 by msalle, Mon Aug 8 13:37:02 2016 UTC
# Line 16  Line 16 
16      group: root      group: root
17      mode: 0744      mode: 0744
18    
 #- name: add cron job to run ca_checker script  
 #  cron:  
 #    name: "checking on CA"  
 #    user: root  
 #    minute: 0  
 #    job: "/usr/local/sbin/ca_checker.sh"  
   
19  - name: add cron job to run ca_checker script  - name: add cron job to run ca_checker script
20    file:    file:
21       src: /usr/local/sbin/ca_checker.sh       src: /usr/local/sbin/ca_checker.sh
22       dest: /etc/cron.hourly/ca_checker.cron       dest: /etc/cron.hourly/ca_checker.cron
23       owner: root       owner: root
24       state: link       state: link
25    
26    # backup mysql database
27    
28    - name: copy mysql-dump.sh to sbin
29      copy:
30        src: mysql-dump.sh
31        dest: /usr/local/sbin/mysql-dump.sh
32        owner: root
33        group: root
34        mode: 0744
35    
36    - name: copy mysql-restore.sh to sbin
37      copy:
38        src: mysql-restore.sh
39        dest: /usr/local/sbin/mysql-restore.sh
40        owner: root
41        group: root
42        mode: 0744
43    
44    - name: add cron job to run mysql-dump.sh script
45      file:
46         src: /usr/local/sbin/mysql-dump.sh
47         dest: /etc/cron.daily/mysql-backup
48         owner: root
49         state: link

Legend:
Removed from v.3076  
changed lines
  Added in v.3077

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28