Skip to content

Commit

Permalink
Engineblock: Move to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Oct 25, 2024
1 parent 9c704b5 commit 05d798c
Show file tree
Hide file tree
Showing 7 changed files with 457 additions and 242 deletions.
5 changes: 1 addition & 4 deletions provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@
tags: ['app_php', 'static']
- role: openconext-common
tags: ['core', 'app_php', 'eb', 'profile']
- role: engineblock
when:
- inventory_hostname not in groups['lifecycle']
tags: ['core', 'app_php', 'eb']
- role: lifecycle
when:
- inventory_hostname in groups['lifecycle']
Expand Down Expand Up @@ -187,6 +183,7 @@
- { role: diyidp, tags: ["diyidp"] }
- { role: profile, tags: ["profile"] }
- { role: lifecycle, tags: ["lifecycle"] }
- { role: engineblock, tags: ["eb"] }
- { role: stepuptiqr, tags: ['stepuptiqr' , 'stepup'] }

- import_playbook: "{{ environment_dir }}/playbook.yml"
Expand Down
4 changes: 2 additions & 2 deletions roles/engineblock/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#---
## Version of EngineBlock that is installable by this role
engine_version: ''
# Be aware that if you enable this option that NPM, Node.js and Composer are installed
Expand All @@ -13,7 +12,6 @@ engine_feature_enable_sso_session_cookie: 0
engine_feature_enable_consent: 1
engine_feature_stepup_override_entityid: 0
engine_feature_idp_initiated_flow: 1

engine_api_feature_metadata_push: 1
engine_api_feature_consent_listing: 1
engine_api_feature_consent_remove: 0
Expand Down Expand Up @@ -128,3 +126,5 @@ engineblock_selenium_install_dir: /opt

# Composer
composer_path: /usr/local/bin/composer

engineblock_log_attributes: []
6 changes: 6 additions & 0 deletions roles/engineblock/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
service:
name: php72-php-fpm
state: restarted

- name: restart engine
community.docker.docker_container:
name: engine
state: started
restart: true
Loading

0 comments on commit 05d798c

Please sign in to comment.