3 Commits
2.0 ... 2.0.2

Author SHA1 Message Date
Emilien Mantel
bc501c9e25 ansible_managed breaks priority on phpdismod 2016-12-12 12:17:47 +01:00
Emilien Mantel
9111165a7c APT change status update:
- updating cache is not a change
- packages are 'present' (was latest) state
2016-12-08 17:38:10 +01:00
Emilien Mantel
ef9242f2fb Fix mods-available directory for PHP7 2016-08-25 18:09:33 +02:00
5 changed files with 17 additions and 14 deletions

View File

@@ -7,8 +7,12 @@
- name: INCLUDE_VARS | Related to PHP version
include_vars: "php-{{ php_version }}.yml"
- name: APT | Update cache
apt: update_cache=yes cache_valid_time=3600
changed_when: false
- name: APT | Install PHP packages
apt: pkg={{ item }} state=latest update_cache=yes cache_valid_time=3600
apt: pkg={{ item }} state=present
with_flattened:
- "{{ php_packages }}"
- "{{ php_extra_packages }}"

View File

@@ -1,7 +1,3 @@
;
; {{ ansible_managed }}
;
extension=apcu.so
; apc.enabled can be set to 0 to disable APC
@@ -23,3 +19,7 @@ apc.file_update_protection={{ php_apc_file_update_protection }}
apc.slam_defense={{ php_apc_slam_defense }}
; Verification with ctime will avoid problems caused by programs such as svn or rsync by making sure inodes haven't changed since the last stat
apc.stat_ctime={{ php_apc_stat_ctime }}
;
; {{ ansible_managed }}
;

View File

@@ -1,7 +1,3 @@
;
; {{ ansible_managed }}
;
; configuration for php ZendOpcache module
; priority=05
zend_extension=opcache.so
@@ -15,3 +11,7 @@ opcache.max_wasted_percentage={{ php_opcache_max_wasted_percentage }}
opcache.validate_timestamps={{ php_opcache_validate_timestamps }}
opcache.revalidate_freq={{ php_opcache_revalidate_freq }}
opcache.max_file_size={{ php_opcache_max_file_size }}
;
; {{ ansible_managed }}
;

View File

@@ -1,7 +1,3 @@
; --------------------------------------
; {{ ansible_managed }}
; --------------------------------------
; configuration for php xdebug module
; priority=20
zend_extension=xdebug.so
@@ -63,3 +59,6 @@ xdebug_var_display_max_children={{ php_xdebug_var_display_max_children }}
xdebug_var_display_max_data={{ php_xdebug_var_display_max_data }}
xdebug_var_display_max_depth={{ php_xdebug_var_display_max_depth }}
; --------------------------------------
; {{ ansible_managed }}
; --------------------------------------

View File

@@ -4,5 +4,5 @@ php_apt_prefix: 'php7.0-'
php_etc_dir: '/etc/php/7.0'
php_fpm_service: 'php7.0-fpm'
php_default_fpm_sock: '/var/run/php/php7.0-fpm.sock'
php_mods_dir: '/etc/php/mods-available'
php_mods_dir: '/etc/php/7.0/mods-available'
php_mysql_package: 'php7.0-mysql'