Commit graph

91 commits

Author SHA1 Message Date
David Prevot 422f007e9d php: drop apt_preferences(5) file for sury
It doesn’t work as expected, and all covered cases should already be
available from http://pub.evolix.org/evolix/dists/ (if
$release_name-phpXY is not available, $release should probably be fixed
or the correct suite added to the repository).
2024-01-17 16:49:11 +01:00
Ludovic Poujol b77845cc8c php: Bullseye/Sury > Honor the php_version asked in the pub.evolix.org repository
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2634|7|2627|6|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/389//ansiblelint">Evolix » ansible-roles » unstable #389</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-11-13 16:17:22 +01:00
Ludovic Poujol e71cffd8fd php: add new variable to disable oveeriding settings of php-fpm default pool (www)
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2624|6|2618|10|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/329//ansiblelint">Evolix » ansible-roles » unstable #329</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-08-28 17:08:33 +02:00
David Prevot 05715d92f3 Fix template has no state
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2613|8|2605|9|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/312//ansiblelint">Evolix » ansible-roles » unstable #312</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-07-31 18:33:30 +02:00
David Prevot 4b4b34e849 Ensure {{ apt_keyring_dir }} directory exists
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2612|29|2583|13|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/305//ansiblelint">Evolix » ansible-roles » unstable #305</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-07-25 10:59:53 +02:00
Jérémy Lecour 00fe225a3c
force: [yes,no] → force [true,false]
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2615|7|2608|177|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-06-28 13:25:30 +02:00
Jérémy Lecour 70c93310f9 Fix ansible-lint violations
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2768|3|2765|12|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/224//ansiblelint">Evolix » ansible-roles » unstable #224</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-03-20 23:48:40 +01:00
Jérémy Lecour ee21973371 Use FQCN
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
2023-03-20 23:33:19 +01:00
Jérémy Lecour 247a89e928 syntax 2023-03-20 15:43:35 +01:00
Jérémy Lecour 45e8132d07 Install deb822 sources on Debian >=12 2023-03-20 15:43:34 +01:00
Jérémy Lecour 449103f537 whitespace 2023-03-16 14:46:42 +01:00
David Prevot cc3fb051b0 Use our new repository for PHP 2023-03-13 22:05:51 +01:00
William Hirigoyen 419071f470 php: fix error introduced in 33503e4538 (False evaluated as a string instead of boolean)
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |4770|6|4764|5|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/202//ansiblelint">Evolix » ansible-roles » unstable #202</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-03-13 15:09:41 +01:00
William Hirigoyen ae5c829373 php: Fix missing variable error introduced in b1a602bf7 2023-02-21 17:47:23 +01:00
Alexis Ben Miloud--Josselin 6968128e7c php: fix last commit and update changelog
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-02-14 16:43:41 +01:00
Alexis Ben Miloud--Josselin d1b2fd8145 php: Fix sury support on Debian 11
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-02-14 15:49:21 +01:00
Alexis Ben Miloud--Josselin 33503e4538 php: Add sury support on Debian 11
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-02-13 10:09:37 +01:00
Eric Morino 70be09342b Remove task debug
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-01-31 17:54:12 +01:00
Eric Morino b1a602bf75 Add php5.6 with Sury on Debian 10
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-01-31 17:53:31 +01:00
Jérémy Lecour 7a0e0d81d6 Proper jinja spacing
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-28 09:03:37 +01:00
Jérémy Lecour 1728eaee68 Revert "Add “when: not ansible_check_mode” to allow more --check"
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This reverts commit fafff25c20.
This reverts commit e64471c5a8084f95a8e6f955d3fa918c55b8e846.
2022-12-14 07:41:18 +01:00
David Prevot d4f58b9395 Drop duplicate when keys introduced in fafff25c20
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-12 14:29:07 +01:00
Ludovic Poujol b02400fd84 php: (partial) fix duplicate when
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-12 12:36:29 +01:00
David Prevot fafff25c20 Add “when: not ansible_check_mode” to allow more --check
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-02 17:40:43 +01:00
David Prevot a1bad43b25 Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
Jérémy Lecour b36d4c4766 various fixes for Debian 12 2022-11-06 15:25:17 +01:00
Jérémy Lecour 28540247f0 Add signed-by option for additional APT sources
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-02 23:17:08 +01:00
Jérémy Lecour f531460f49 Use proper keyrings directory for APT version
Debian 9 → 11 : /etc/apt/trusted.gpg.d
Debian 12 : /etc/apt/keyrings
2022-11-02 23:16:32 +01:00
David Prevot a55d06f58e PHP: Install php-xml now that it has been split off
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-08-17 16:25:48 +02:00
Alexis Ben Miloud--Josselin 8cdaee9658 [php] Corriger installation sury pour les packweb en bullseye
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-19 15:49:25 +02:00
Jérémy Lecour 4c52719561 php: fix assert condition 2021-09-29 18:39:42 +02:00
Jérémy Lecour 0eb7332a34 php: enforce Debian version with assert instead of fail 2021-09-29 16:43:55 +02:00
Jérémy Lecour febc76b26c php: fix tasks names 2021-09-29 16:40:25 +02:00
Jérémy Lecour 51d4ec1bb2 php: remove php-gettext for 7.4 2021-07-02 21:10:04 +02:00
Jérémy Lecour 2f68ae5339 Preliminary support for Bullseye 2021-07-02 20:58:09 +02:00
Jérémy Lecour f473e99d6d php: use sury.gpg locally 2021-06-28 15:56:19 +02:00
Jérémy Lecour 454d4c6d30 explicit permissions for APT GPG keys
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-26 13:47:34 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Ludovic Poujol 0dfb92360f php: Don't disable putenv() by default in PHP settings
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-04 11:52:04 +02:00
Ludovic Poujol 8c883c44dd php: Install php-sqlite by default 2020-06-04 11:39:51 +02:00
Jérémy Lecour d013a65cf6 Merge branch 'unstable' into lpoujol/better-multiphp
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-17 12:23:56 +02:00
Ludovic Poujol f135f67cd0
(change) php: Cleanup CLI Settings. Also, allow url fopen and don't disable functions (in CLI only)
All checks were successful
continuous-integration/drone/push Build is passing
Closes #98
2020-04-01 18:22:46 +02:00
Ludovic Poujol 2a1d355192 (fix) php: Correct tasks names in config_cli as they are for all versions, not only jessie
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Ludovic Poujol <lpoujol@evolix.fr>
2020-04-01 18:15:38 +02:00
Ludovic Poujol 7fc260a17b (fix) php: update surry_post.yml to match current latest PHP release
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-01 18:08:57 +02:00
Ludovic Poujol a21fcaf663 (fix) php: Chose the debian version repo archive for packages.sury.org 2020-04-01 17:23:39 +02:00
Jérémy Lecour 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
Ludovic Poujol 31df2d2fbc
php: Add a task to remove Debian's default FPM pool file (off by default)
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Can be triggered by switching php_fpm_remove_default_pool to True.
2020-01-16 15:55:35 +01:00
Ludovic Poujol ef5ed6911e
php: Change the default pool names to something more explicit (and same for the variables names)
Because it's more than just pure configuration, but a fpm pool 
definition, I've changed the following variables in Ansible :
- php_fpm_defaults_conf_file to replaced by php_fpm_default_pool_file
- php_fpm_custom_conf_file to php_fpm_default_pool_custom_file.

On the FPM side, I've also changed the files names of the pool to make 
them more explicit. No more z and zzz. It's the www pool, so let's put 
www in the file name for coherence : 
- z-evolinux-defaults.conf changes to www-evolinux-defaults.conf 
- zzz-evolinux-custom.conf changes to www-evolinux-zcustom.conf
2020-01-16 15:55:25 +01:00
Ludovic Poujol c9d3635cf8
php: Make sure the default pool we define can be fully functionnal witout debian's default pool file 2020-01-16 15:55:17 +01:00