Skip to content

Commit c87b9f3

Browse files
committed
Adds php7_module_debs
Added user selectable modules if required
1 parent 3f92e88 commit c87b9f3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

defaults/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# -*- yaml -*-
22

3+
php7_module_debs: []
4+
35
php7_fix_pathinfo: 1
46
php7_max_execution_time: 30
57
php7_mbstring_http_input: "auto"
68
php7_memory_limit: 128M
79
php7_post_max_size: 40M
810
php7_upload_max_filesize: 20M
9-
php7_version: 7.0
11+
php7_version: 7.0

tasks/php7-fpm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
update_cache: yes
55

66
- name: Show selected php7_version
7-
debug: msg="Deploying php7 version {{ php7_version }}"
7+
debug:
8+
msg: "Deploying php7 version {{ php7_version }}"
89

910
- name: Installs php7-fpm
1011
apt:
@@ -22,6 +23,7 @@
2223
- php{{ php7_version }}-curl
2324
- php-pear
2425
- php{{ php7_version }}-mysql
26+
- "[{{ php7_module_debs }}]"
2527

2628
- name: Adds php.ini
2729
template:

0 commit comments

Comments
 (0)