Commit Graph

84 Commits

Author SHA1 Message Date
Jeff Geerling
6e92b87062 Switch tests to use Molecule. 2018-09-29 14:41:26 -05:00
Jeff Geerling
40b7bd543e Fixes #253: Speed up PHP package installation by not using with_items. 2018-09-07 15:42:03 -05:00
Jeff Geerling
f7c6438688 Issue #237: Fix install from source on Ubuntu 18.04, using virtual package on older systems. 2018-04-26 13:43:29 -05:00
Jeff Geerling
869625fcf0 Fixes #236: Fix include and static deprecation notices in Ansible 2.4+. 2018-04-26 12:34:04 -05:00
Jeff Geerling
46d6d3e0d8 Fix deprecation warnings in Ansible 2.5 for state 'present'. 2018-04-04 13:51:13 -05:00
Jeff Geerling
462ebfaabf Fixes #219: Fix source build failure on Ansible 2.4+. 2017-09-21 21:58:02 -05:00
Jeff Geerling
84ab337202 Issue #191: Add workaround for Debian not enabling service. 2017-05-16 22:05:27 -05:00
Oskar Schöldström
1d8d6fe497 Workaround ansible service module not enabling php-fpm 2017-05-16 22:03:14 -05:00
Felix Peters
65f5e35259 Update configure-fpm.yml (#176)
Fix issue #98 
Only add the default pool when php_enable_php_fpm is true
2017-02-18 19:54:16 -06:00
Jeff Geerling
504f0d55ab PR #165 follow-up: Adjust the variable name for php_packages_extra. 2017-01-06 11:37:07 -06:00
Simon
79eafb32e3 Adds variable additional_php_packages (#165)
* Allows to add additional_php_packages

Allows to add additional_php_packages as var. Extends php_packages to install.

* Adds description for variable additional_php_packages

Adds description of new variable for additional php packages.
2017-01-06 11:31:58 -06:00
Jeff Geerling
3d15a1ddda Fixes #164: Workaround for shallow tag clones not working in Ansible 2.2. 2016-11-23 13:46:01 -06:00
Jeff Geerling
8e227e5bf2 Fixes #160: Dynamically include files to prevent errors with 2.2.x. 2016-11-15 19:16:38 -06:00
Jeff Geerling
08c948d24f Fix test failures due to boolean handling in YAML. 2016-10-12 15:41:28 -05:00
Jeff Geerling
06d8a0edd2 Add the ability to choose --no-install-recommends for apt installs. 2016-10-12 15:27:31 -05:00
Jeff Geerling
5cb6fe72fb Make role work on Fedora. 2016-09-17 18:42:47 -05:00
Jeff Geerling
1335099d77 Make sure php_fpm_pool_user and _group are updated in config. 2016-06-10 22:22:47 -05:00
Jeff Geerling
6c7eb71a01 Merge pull request #135 from geerlingguy/pporada-gl-master
Enable user to set the apt/yum module 'state'
2016-06-09 11:35:49 -05:00
Jeff Geerling
7ed52a26c8 PR #131 follow-up: Formatting and task reorganization. 2016-06-08 23:03:58 -05:00
Jeff Geerling
f838f3fa5b Merge pull request #131 from rockholla/apc-opcache-config-tweaking
Fixes #130 and #48: Tweak and simplify some of the apc and opcache configuration
2016-06-08 22:58:56 -05:00
Jeff Geerling
ef1fcfff82 Merge pull request #128 from mgarstecki/fix-fpm-centos
Fix #120: Introduce variables for FPM user and group.
2016-06-04 15:51:05 -05:00
Phil Porada
9c5de4307a Merge branch 'master' of https://github.com/geerlingguy/ansible-role-php 2016-06-02 14:19:42 -04:00
Patrick Force
178600895a remove and add back in apc and opcache config files when enabling/disabling 2016-05-20 16:23:28 -06:00
Patrick Force
b9f0a61720 tweak and simplify some of the apc and opcache configuration 2016-05-20 16:00:24 -06:00
Jeff Geerling
b495937920 Fixes #127: OpCache configuration filename has changed in Ubuntu 16.04. 2016-05-19 11:00:45 -05:00
Mathieu Garstecki
72c05c942f Fix #120: Introduce variables for FPM user and group. 2016-05-19 16:07:12 +02:00
Jeff Geerling
8e17a3d539 Fixes #123: Officially drop support for unmaintained PHP versions. 2016-05-11 22:35:38 -05:00
Jeff Geerling
214e4bb8fa Fixes #69: APC is dead, long live OpCache and APCu. 2016-05-11 22:27:02 -05:00
Phil Porada
11ed2172de Per comments on PR106 2016-05-02 08:57:32 -04:00
Jeff Geerling
cbc252ef70 PR #109 Cleanup. 2016-04-11 20:27:47 -05:00
Rob Ruma
a9441fda34 Obtaining php-fpm pool directory status and creating only if the directory does not exist 2016-04-11 19:47:48 -04:00
Phil Porada
f20bbde884 Users can now set the apt/yum module 'state' to be 'installed, latest, present' etc. This allows a user to test php55, swap a variable to enable the php56 repo, then re-run the ansible play to get different PHP packages. 2016-04-08 16:43:26 -04:00
Jeff Geerling
82a0856f91 Fix for previous commit. Ensure pool config directory exists. 2016-03-06 21:26:53 -06:00
Jeff Geerling
38a87f2d23 Fixes #92: Add a default pool.d/www.conf for FPM source install. 2016-03-06 21:06:46 -06:00
Jeff Geerling
f195d7ec9a Merge pull request #89 from oxyc/conf
Apply configurations to all possible conf directories on Debian
2016-03-05 16:54:26 -06:00
Jeff Geerling
c9e9cc2e72 Define PHP-FPM daemon if it's not already defined. 2016-03-05 12:09:22 -06:00
Oskar Schöldström
a1dd9901ec Add configurations to all possible conf directories 2016-03-03 21:55:56 -05:00
Oskar Schöldström
a63ea5ba0d Issue #67: Fix install from source not finding openssl libs on Ubuntu 15.10 2016-02-29 13:20:12 -05:00
Jeff Geerling
339f91bce5 Fix Ansible 2.x deprecation warnings. 2016-02-28 23:39:03 -06:00
Jeff Geerling
2ca34c72c7 Follow-up to #83 - fix idempotence for Debian config symlinks. 2016-02-20 16:52:15 -06:00
Jeff Geerling
e7a4fe4c05 Fixes #76: Wrong variable 'php_installed_version'. 2016-02-16 21:35:19 -06:00
Oskar Schöldström
1cd50cb01c Add missing rhel dependencies when building from source 2016-02-16 22:03:59 -05:00
Lewis Wright
3b661d7539 Made php_fpm_pool_conf_path configurable - for PHP 7. 2016-01-22 10:00:30 +00:00
Jeff Geerling
d8f221e093 Fix php_fpm_listen variable. 2016-01-17 22:01:29 -06:00
Jeff Geerling
f35d2a2b53 Fixes #55 and Fixes #43: Extra basic configuration for PHP-FPM. 2016-01-14 20:47:25 -06:00
Jeff Geerling
714e23e92e Change php_version var to php_installed_version. 2015-12-14 08:50:57 -06:00
Gilad Peleg
6a2048a565 Use ansible jinja filter of version_compare 2015-12-14 15:45:58 +02:00
Thom Toogood
528ab01605 Allow overriding php_fpm_daemon 2015-12-07 12:07:26 +11:00
Jeff Geerling
ce8d9cad35 Make sure OpenSSL requirements are installed. 2015-10-02 13:58:48 -05:00
Jeff Geerling
6b57f8eb73 Remove extra newline. 2015-10-02 12:58:29 -05:00