Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
ff86673d
Commit
ff86673d
authored
Mar 03, 2014
by
Carson Gee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to shibboleth role and allow changing the template directory
parent
1b7067c1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
19 deletions
+5
-19
playbooks/roles/shibboleth/defaults/main.yml
+1
-0
playbooks/roles/shibboleth/meta/main.yml
+3
-0
playbooks/roles/shibboleth/tasks/main.yml
+1
-19
No files found.
playbooks/roles/shibboleth/defaults/main.yml
View file @
ff86673d
...
...
@@ -8,3 +8,4 @@ shib:
YOU NEED TO GENERATE A REAL KEY HERE USING OPENSSL
sp_pem
:
|
THE CORRESPONDING CERTIFICATE PEM GOES HERE
shib_template_path
:
'
.'
playbooks/roles/shibboleth/meta/main.yml
0 → 100644
View file @
ff86673d
---
dependencies
:
-
apache
playbooks/roles/shibboleth/tasks/main.yml
View file @
ff86673d
...
...
@@ -10,21 +10,12 @@
-
libapache2-mod-shib2
-
opensaml2-tools
notify
:
restart shibd
tags
:
-
shib
-
install
-
name
:
Creates /etc/shibboleth/metadata directory
file
:
path=/etc/shibboleth/metadata state=directory mode=2774 group=_shibd owner=_shibd
tags
:
-
shib
-
install
-
name
:
Downloads metadata into metadata directory as backup
get_url
:
url=https://idp.stanford.edu/Stanford-metadata.xml dest=/etc/shibboleth/metadata/idp-metadata.xml mode=0640 group=_shibd owner=_shibd
tags
:
-
shib
-
install
-
name
:
writes out key and pem file
template
:
src=sp.{{item}}.j2 dest=/etc/shibboleth/sp.{{item}} group=_shibd owner=_shibd mode=0600
...
...
@@ -32,24 +23,15 @@
-
key
-
pem
notify
:
restart shibd
tags
:
-
shib
-
install
-
name
:
writes out configuration files
template
:
src={{item}}.j2 dest=/etc/shibboleth/{{item}} group=_shibd owner=_shibd mode=0644
template
:
src={{
shib_template_dir }}/{{
item}}.j2 dest=/etc/shibboleth/{{item}} group=_shibd owner=_shibd mode=0644
with_items
:
-
attribute-map.xml
-
shibboleth2.xml
notify
:
restart shibd
tags
:
-
shib
-
install
-
name
:
enables shib
command
:
a2enmod shib2
notify
:
restart shibd
tags
:
-
shib
-
install
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment