This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-php
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fpm
master
Markus Katharina Brechtel
4 years ago
parent
46875a8cc5
commit
52a31ed98c
5 changed files
with
16 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
defaults/main.yaml
+5
-0
tasks/apache.yaml
+3
-0
tasks/main.yaml
+6
-0
tasks/php-fpm.yaml
+0
-1
tasks/setup.yaml
+ 2
- 0
defaults/main.yaml
View File
@@ -1,3 +1,5 @@
---
php_sury_repo: false
php_configure_opcache: false
php_apache_module: false
php_fpm_install: false
+ 5
- 0
tasks/apache.yaml
View File
@@ -1,5 +1,10 @@
---
- name: php apache module debian packages
apt:
pkg:
- libapache2-mod-php{{php_version}}
- name: find apache php modules which are not of the selected version
find:
path: /etc/apache2/mods-enabled/
+ 3
- 0
tasks/main.yaml
View File
@@ -2,5 +2,8 @@
- import_tasks: setup.yaml
- import_tasks: apache.yaml
when: php_apache_module
- import_tasks: opcache.yaml
when: php_configure_opcache
- import_tasks: php-fpm.yaml
when: php_fpm_install
+ 6
- 0
tasks/php-fpm.yaml
View File
@@ -0,0 +1,6 @@
---
- name: php-fpm debian packages
apt:
pkg:
- php{{php_version}}-fpm
+ 0
- 1
tasks/setup.yaml
View File
@@ -44,7 +44,6 @@
apt:
pkg:
- php{{php_version}}-cli
- libapache2-mod-php{{php_version}}
- php{{php_version}}-xml
- php{{php_version}}-json
- php{{php_version}}-mbstring
Write
Preview
Loading…
Cancel
Save