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

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

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

revision 3002 by tamasb, Wed Mar 16 16:14:04 2016 UTC revision 3003 by tamasb, Mon Apr 11 16:34:29 2016 UTC
# Line 45  Line 45 
45      - restart shibd      - restart shibd
46      - restart httpd      - restart httpd
47    
48  - name: register protected resource in httpd  - name: register protected resource /authorize in httpd
49    blockinfile:    blockinfile:
50       dest: "{{ shib_httpd_conf }}"       dest: "{{ shib_httpd_conf }}"
51       marker: "# {mark} ANSIBLE MANAGED BLOCK"       marker: "# {mark} ANSIBLE MANAGED BLOCK /authorize"
52       owner: "root"       owner: "root"
53       group: "root"       group: "root"
54       mode: 0644       mode: 0644
# Line 61  Line 61 
61         </Location>         </Location>
62    notify: restart httpd    notify: restart httpd
63    
64    - name: register protected resource /register in httpd
65      blockinfile:
66         dest: "{{ shib_httpd_conf }}"
67         marker: "# {mark} ANSIBLE MANAGED BLOCK /register"
68         owner: "root"
69         group: "root"
70         mode: 0644
71         block: |
72           <Location /{{oa4mp_server}}/register>
73             AuthType shibboleth
74             ShibRequestSetting requireSession 1
75             ShibUseHeaders On
76             Require valid-user
77           </Location>
78      notify: restart httpd

Legend:
Removed from v.3002  
changed lines
  Added in v.3003

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