From 066e9b2ec2017e8ce2d3b597f18e0f57373a21de Mon Sep 17 00:00:00 2001 From: pascal Date: Sat, 11 Jan 2020 13:39:14 +0100 Subject: [PATCH 1/2] Builds moved to travis-ci.com --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9437efb..125f7f2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/codeenigma/ce-vm.svg?branch=8.x)](https://travis-ci.org/codeenigma/ce-vm.svg?branch=8.x) +[![Build Status](https://travis-ci.com/codeenigma/ce-vm.svg?branch=8.x)](https://travis-ci.com/codeenigma/ce-vm.svg?branch=8.x) # Docker based local web development stack Spins up a dev environment using Docker containers managed by Vagrant and configured with Ansible. From 79c9c2875272c7d2d237b441a49737db069ccd33 Mon Sep 17 00:00:00 2001 From: Dionisio Date: Wed, 17 Mar 2021 09:48:23 +0100 Subject: [PATCH 2/2] 8.x: Added gmp to mitigate SimeSamlphp issues with OpenId (#81) Co-authored-by: Dionisio --- ansible/cli.yml | 1 + ansible/fpm.yml | 1 + ansible/roles/gmp/tasks/main.yml | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 ansible/roles/gmp/tasks/main.yml diff --git a/ansible/cli.yml b/ansible/cli.yml index 43352b5..9ff2360 100644 --- a/ansible/cli.yml +++ b/ansible/cli.yml @@ -13,6 +13,7 @@ - { role: unison, when: volume_type == 'unison' } - { role: php-cli } - { role: xdebug, php_build_type: cli } + - { role: gmp, php_build_type: cli } - { role: blackfire } - { role: rsyslog_client } - { role: postfix } diff --git a/ansible/fpm.yml b/ansible/fpm.yml index 91ce779..bfa4eac 100644 --- a/ansible/fpm.yml +++ b/ansible/fpm.yml @@ -15,6 +15,7 @@ - { role: rsyslog_client } - { role: php-fpm } - { role: xdebug, php_build_type: fpm } + - { role: gmp, php_build_type: fpm } - { role: blackfire } - { role: postfix } diff --git a/ansible/roles/gmp/tasks/main.yml b/ansible/roles/gmp/tasks/main.yml new file mode 100644 index 0000000..4188cfc --- /dev/null +++ b/ansible/roles/gmp/tasks/main.yml @@ -0,0 +1,11 @@ +--- + +- name: Install gmp library. + apt: + name: [ "php{{ php_version }}-gmp" ] + state: present + +- name: Enable gmp extension + lineinfile: + path: '/etc/php/{{ php_version }}/{{ php_build_type }}/conf.d/20-gmp.ini' + line: 'extension=gmp.so'