Skip to content
Snippets Groups Projects
Commit 052d65aa authored by Jupiter Hu's avatar Jupiter Hu
Browse files

fixed shibboleth config

parent 05c66638
No related branches found
No related tags found
No related merge requests found
--- ---
- -
name: "Copying the shibboleth files" name: "Copying the shibboleth files"
template: src=files/{{ item }} dest="/etc/shibboleth/{{ item }}" mode=0644 template: src=files/{{ item.src }} dest="/etc/shibboleth/{{ item.dest }}" mode=0644
sudo: true sudo: true
with_items: with_items: shibboleth_file
- "{{ shibboleth_file.aaf }}"
- "{{ shibboleth_file.cert }}"
when: shibboleth_file is defined when: shibboleth_file is defined
- -
...@@ -15,10 +13,14 @@ ...@@ -15,10 +13,14 @@
args: args:
dest: /etc/shibboleth/shibboleth2.xml dest: /etc/shibboleth/shibboleth2.xml
regexp: sp.example.org regexp: sp.example.org
replace: "{{ ansible_fqdn }}" replace: "{{ ansible_hostname }}.{{ domain }}"
backup: yes backup: yes
-
name: "Remove SSO entityID"
lineinfile: dest=/etc/shibboleth/shibboleth2.xml regexp="^<SSO entityID=" line="<SSO" state=present
sudo: true
- -
name: "Setting shibboleth2.xml handlerSSL" name: "Setting shibboleth2.xml handlerSSL"
sudo: true sudo: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment