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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3077 - (hide annotations) (download) (as text)
Mon Aug 8 13:37:02 2016 UTC (5 years, 9 months ago) by msalle
File MIME type: text/x-yaml
File size: 1038 byte(s)
Add mysql dump and restore scripts plus cronjob for the former.
Move 00-httpoxy from templates to file (it's not a template)
Update the oauth2 war and jar files.

1 tamasb 2880 ---
2    
3     - name: install general dependencies
4     yum:
5     name: "{{ item }}"
6     state: present
7     with_items: "{{ dependencies }}"
8 tamasb 3048
9     # check on the CA node periodically and send email if it is down
10    
11     - name: copy ca_checker to sbin
12     template:
13     src: ca_checker.sh.j2
14     dest: /usr/local/sbin/ca_checker.sh
15     owner: root
16     group: root
17     mode: 0744
18    
19     - name: add cron job to run ca_checker script
20 msalle 3074 file:
21     src: /usr/local/sbin/ca_checker.sh
22     dest: /etc/cron.hourly/ca_checker.cron
23     owner: root
24     state: link
25 msalle 3077
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

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