/[pdpsoft]/trunk/aarc.master-portal/ansible/roles/credstore/tasks/myproxy-credstore.yml
ViewVC logotype

Contents of /trunk/aarc.master-portal/ansible/roles/credstore/tasks/myproxy-credstore.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2997 - (show annotations) (download) (as text)
Wed Apr 6 15:05:11 2016 UTC (6 years, 2 months ago) by tamasb
File MIME type: text/x-yaml
File size: 1293 byte(s)
use template instead of copy for myproxy-proxy-extfile

1 ---
2
3 # These tasks will install and configure MyProxy Server
4 # to act as a Credential Store
5
6 - name: install myproxy
7 yum: name={{item}} state=present
8 with_items:
9 - myproxy
10 - myproxy-server
11 - myproxy-voms
12 - myproxy-admin
13 - myproxy-doc
14 - name: add myproxy-server.config
15 template:
16 src: myproxy-server.conf.j2
17 dest: /etc/myproxy-server.config
18 owner: myproxy
19 group: myproxy
20 mode: 0644
21 backup: yes
22 notify: restart myproxy
23 - name: add myproxy proxy extfile
24 template:
25 src: myproxy-proxy-extfile
26 dest: "{{ credstore_proxy_extfile }}"
27 owner: myproxy
28 group: myproxy
29 mode: 0644
30 - name: give access to host certificate
31 file:
32 path: /etc/grid-security/hostcert.pem
33 owner: myproxy
34 group: myproxy
35 mode: 0644
36 - name: give access to host key
37 file:
38 path: /etc/grid-security/hostkey.pem
39 owner: myproxy
40 group: myproxy
41 mode: 0400
42 - name: create hostcert link
43 file:
44 src: /etc/grid-security/hostcert.pem
45 dest: /etc/grid-security/myproxy/hostcert.pem
46 owner: myproxy
47 group: myproxy
48 state: link
49 - name: create hostkey link
50 file:
51 src: /etc/grid-security/hostkey.pem
52 dest: /etc/grid-security/myproxy/hostkey.pem
53 owner: myproxy
54 group: myproxy
55 state: link

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