Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions roles/_meta/deploy-simplesamlphp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# SimpleSAMLphp
Role for deploying single SimpleSAMLphp instances. Do not use if you are deploying SimpleSAMLphp with another application like Drupal via composer.

This role currently assumes all config is in the repository alongside composer.json and the special `SIMPLESAMLPHP_CONFIG_DIR` variable is passed in via the web server vhost to tell SimpleSAMLphp where the config is on the server. For vhost configuration in Nginx see ce-provision:

* https://github.com/codeenigma/ce-provision/blob/1.x/roles/nginx

<!--ROLEVARS-->
<!--ENDROLEVARS-->
17 changes: 17 additions & 0 deletions roles/_meta/deploy-simplesamlphp/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
# Default SimpleSAMLphp role. This is suitable for a standalone SimpleSAMLphp installation

- ansible.builtin.import_role:
name: _init
- ansible.builtin.import_role:
name: deploy_code
- ansible.builtin.import_role:
name: composer
- ansible.builtin.import_role:
name: database_backup
- ansible.builtin.import_role:
name: live_symlink
- ansible.builtin.import_role:
name: cache_clear/cache_clear-opcache
- ansible.builtin.import_role:
name: _exit
1 change: 1 addition & 0 deletions roles/deploy_code/deploy_code-simplesamlphp/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Nothing to do.