Commit Graph

105 Commits

Author SHA1 Message Date
Jeff Geerling
bdf2ead5d3 Source build fix. 2022-12-06 19:54:05 -06:00
Jeff Geerling
2c75d9f7f4 Fix the order of variable precedence for Debian OSes. 2022-02-02 13:26:59 -06:00
Jeff Geerling
6e0cb0e02a Reverse order of variable inclusions so specific vars can override generics. 2022-02-02 13:21:11 -06:00
Jeff Geerling
7a1597c1ce
Merge pull request #302 from rsicart/feature/extra-fpm-pools
Configure extra fpm pools
2021-05-06 12:15:47 -05:00
R.Sicart
f5aab0ceb2 Configure extra fpm pools
Allow to configure extra fpm pools with a generic template.

You can find an example of php_fpm_extra_pools usage in default vars.
pool_name and pool_listen are mandatory.
2020-08-31 11:32:46 +02:00
David Lundgren
e7da34aa44 Allow the php version to be overridden. 2020-08-24 17:13:21 -05:00
Jeff Geerling
3764e1662d Fix rule 208 lint issues. 2020-08-20 22:34:18 -05:00
Jeff Geerling
2f8128d427 Fixes #305: Fix source build on Debian 10 and Ubuntu 18+. 2020-08-04 17:35:03 -05:00
Jeff Geerling
4df8f4b1dd Fixes #304: Fix compilation issues with PHP 7.4 when building from source. 2020-08-03 17:58:49 -05:00
Jeff Geerling
9751de2e2a Fix error introduced in previous commit - skip task if no file found. 2020-07-24 17:23:51 -05:00
Jeff Geerling
1496cf8f92 Fixes #281: Thorough support for all current Ubuntu and Debian versions. 2020-07-24 17:17:50 -05:00
Jeff Geerling
c4bd34bf81
Merge pull request #277 from kindlehl/php_packages_extra_fix
Php_packages_extra fix
2020-03-06 12:42:14 -06:00
Jeff Geerling
07cb84c591 Fixes #293: Allow PHP-FPM state and boot behavior to be configured. 2020-03-06 09:38:47 -06:00
Jeff Geerling
24ca4a9c36 PR #280: Follow-up for formatting. 2019-11-06 12:43:07 -06:00
Jeff Sheltren
1f4b20ba7d Use |bool filter on opcache variable to avoid deprecation warning 2019-10-15 11:14:26 -07:00
Hunter Lannon
bf156b69e2 added php_packages_extra to package install task 2019-09-11 16:04:08 -07:00
Hunter Lannon
cb8438fde1 define php_packages_extra in defaults 2019-09-11 16:03:46 -07:00
Jeff Geerling
347055716f Resolve ansible-lint problems. 2019-01-03 21:50:00 -06:00
Jeff Geerling
9e8daa5fdd Fix lint issues picked up by galaxy-lint-rules. 2018-10-25 11:09:47 -05:00
Jeff Geerling
705983ae63 Fix broken yum enablerepo behavior due to change in Ansible 2.7.0. 2018-10-08 11:58:30 -05:00
Jeff Geerling
f1470fb5f9 Prevent failures on Ansible 2.7 when no repo is set on RedHat. 2018-10-04 16:14:55 -05:00
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