forked from rciam/rciam-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoauth2samlservers.yml
25 lines (24 loc) · 985 Bytes
/
oauth2samlservers.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# file: oauth2samlservers.yml
#
---
- hosts: oauth2saml
roles:
- { role: ssp, tags: ssp }
- { role: ssp-modules, tags: ssp-modules }
tasks:
- name: Install modules using composer
# shell: php composer.phar require oakhope/oauth2-wechat --ignore-platform-reqs --no-interaction --no-scripts
shell: php composer.phar require cirrusidentity/simplesamlphp-module-authoauth2:v3.1.0 league/oauth2-google oakhope/oauth2-wechat --ignore-platform-reqs --no-interaction --no-scripts
args:
chdir: "{{ ssp_path }}/"
executable: /bin/bash
register: composer_results
changed_when: composer_results is changed and "Nothing to install, update or remove" not in composer_results.stderr
when: ssp_mods_extra_enabled | selectattr('name','equalto','authoauth2') | list | count > 0
become: true
tags:
- install
- install-composer
- ssp:install
- ssp:install:mods
- ssp-modules:install