shibbolet sp role: support trusty.
This commit is contained in:
parent
6dc148a855
commit
82b6fe1eff
|
@ -6,5 +6,9 @@ shibbolet_pkg_list:
|
|||
- shibboleth-sp2-utils
|
||||
- curl
|
||||
|
||||
shibbolet_pkg_list_trusty:
|
||||
- shibboleth-sp2-schemas
|
||||
- curl
|
||||
|
||||
shibbolet_apache_module_pkg:
|
||||
- libapache2-mod-shib2
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
---
|
||||
- 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 }}'
|
||||
apt: pkg={{ shibbolet_pkg_list }} state={{ shibbolet_pkg_state }} cache_valid_time=1800 update_cache=yes
|
||||
when: is_not_trusty
|
||||
|
||||
- name: Install the shibbolet packages on Trusty
|
||||
apt: pkg={{ shibbolet_pkg_list_trusty }} state={{ shibbolet_pkg_state }} cache_valid_time=1800 update_cache=yes
|
||||
when: is_not_trusty
|
||||
|
||||
- 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 }}'
|
||||
apt: pkg={{ shibbolet_apache_module_pkg }} state={{ shibbolet_pkg_state }} cache_valid_time=1800 update_cache=yes
|
||||
|
||||
- name: Enable the apache shib2 module
|
||||
apache2_module: name=shib2 state=present
|
||||
|
|
Loading…
Reference in New Issue