Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Merge 8-x-dev in 8.x base #82

Open
wants to merge 2 commits into
base: 8.x
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions ansible/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 1 addition & 0 deletions ansible/fpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down
11 changes: 11 additions & 0 deletions ansible/roles/gmp/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -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'