shibbolet SP role. Some tasks and configuration templates still missing.
This commit is contained in:
parent
4e66797358
commit
eb2d0fd3e3
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
shibbolet_pkg_state: latest
|
||||||
|
shibbolet_pkg_list:
|
||||||
|
- shibboleth-sp2-common
|
||||||
|
- shibboleth-sp2-schemas
|
||||||
|
- shibboleth-sp2-utils
|
||||||
|
- curl
|
||||||
|
|
||||||
|
shibbolet_apache_module_pkg:
|
||||||
|
- libapache2-mod-shib2
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: '../../library/roles/apache'
|
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
- block:
|
||||||
|
- name: Install the shibbolet packages
|
||||||
|
apt: pkg={{ item }} state={{ shibbolet_pkg_state }} cache_valid_time=1800 update_cache=yes
|
||||||
|
with_items: '{{ shibbolet_pkg_list }}'
|
||||||
|
|
||||||
|
- name: Install the shibbolet apache module
|
||||||
|
apt: pkg={{ item }} state={{ shibbolet_pkg_state }} cache_valid_time=1800 update_cache=yes
|
||||||
|
with_items: '{{ shibbolet_apache_module_pkg }}'
|
||||||
|
|
||||||
|
- name: Enable the apache shib2 module
|
||||||
|
apache2_module: name=shib2 state=present
|
||||||
|
notify: apache2 reload
|
||||||
|
|
||||||
|
- name: Create the shibbolet log directory
|
||||||
|
file: dest=/var/log/shibbolet state=directory owner='_shibd' group='_shibd'
|
||||||
|
|
||||||
|
- name: Ensure that the shibd service is running and enabled
|
||||||
|
service: name=shibd state=started enabled=yes
|
||||||
|
|
||||||
|
tags: [ 'shibbolet', 'shibbolet_sp' ]
|
Loading…
Reference in New Issue