forked from rciam/rciam-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoogle2samlservers.yml
26 lines (25 loc) · 921 Bytes
/
google2samlservers.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
26
# file: google2samlservers.yml
#
---
- hosts: google2saml
roles:
# - { role: apache, tags: apache }
# - { role: php, tags: php }
- { role: ssp, tags: ssp }
- { role: ssp-modules, tags: ssp-modules }
tasks:
- name: Install modules using composer
shell: php composer.phar require cirrusidentity/simplesamlphp-module-authoauth2:v3.1.0 league/oauth2-google --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