Commit graph

58 commits

Author SHA1 Message Date
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 f8f5bec8b5 lxc-php: prepare php82 2023-03-20 15:43:35 +01:00
Jérémy Lecour 1d03e73a62 lxc-php: extract variables 2023-03-20 15:43:35 +01:00
Jérémy Lecour 09d3f606cd lxc-php: lxc dependency is resolved manually 2023-03-20 15:43:34 +01:00
David Prevot 49d8c99328 pub_evolix.asc is also needed in lxc-php
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |4717|6|4711|6|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/220//ansiblelint">Evolix » ansible-roles » unstable #220</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-03-20 14:56:11 +01:00
David Prevot cc3fb051b0 Use our new repository for PHP 2023-03-13 22:05:51 +01:00
David Prevot dbef71d791 Drop trailing whitespaces
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-01-06 09:54:51 +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 0622e9ff1e fix non-breaking spaces 2022-12-14 11:47:53 +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 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
Jérémy Lecour 08db230c29 Merge branch 'debian12' into unstable
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-27 18:29:57 +01:00
David Prevot 057224fb38 Skip task in check_mode
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-25 15:56:19 +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
William Hirigoyen b1138c07ee lxc-php: Fix register instruction in wrong order and indentation
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-02 11:10:56 +01:00
William Hirigoyen 18fb89234c lxc-php: restart container instead of reload after php-fpm unit's umask change. 2022-10-26 15:23:46 +02:00
William Hirigoyen (Evolix) 2692ac5661 Ajoute l'umask 0007 au service php-fpm 2022-10-26 09:56:33 +02: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
Jérémy Lecour 799466788f lxc-php: preliminary support for PHP 8.1 container
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-02-17 14:50:21 +01:00
Eric Morino 0a244894eb Add fix repository in source.list for bullseye
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-01-26 11:07:10 +01:00
Jérémy Lecour 93929864be lxc-php: use bullseye-php80 for php80 container
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-01-25 17:45:17 +01:00
Mathieu Trossevin 1902c40c3c
lxc-php: Fix config for opensmtpd on bullseye
Some checks reported errors
continuous-integration/drone/pr Build was killed
2022-01-25 11:57:41 +01:00
Eric Morino 2dfd0c0706 Add squid logrotate 2021-10-11 11:03:34 +02:00
Brice Waegeneire 616ead41d5 lxc-php: Add php 8.0 support 2021-10-05 14:38:40 +02:00
Brice Waegeneire 45b7ce3486 lxc-php: Use Debian bullseye package for php74 2021-09-14 14:42:31 +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 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +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 7dc6f0b849 remove trailing whitespaces 2021-05-13 15:23:39 +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 3dde4ee6d3 Rename Sury GPG key
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-06 13:44:22 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Gregory Colpart f260fedbae fix GPG key install for APT
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-26 22:36:03 +02:00
Ludovic Poujol 32f2a29161 lxc-php: No need of apt-key for php7.4
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-31 11:51:26 +02:00
Ludovic Poujol f2ebe2d878 lxc-php: Add php 7.4 support
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-31 10:57:29 +02:00
Mathieu Trossevin 2e29dc2440 lxc-php: Do not bind the mysql socket by default
Some checks failed
continuous-integration/drone/pr Build is failing
The lxc-php role can be run on a server without mysql. Attempting to
bindmount the mysql socket in such a case cause the lxc container to
fail to start.

This commit add a variable, lxc_php_create_mysql_link defaulting to
false telling ansible if it should bindmount the MySQL socket to the
container.
2021-01-11 15:20:25 +01:00
Mathieu Trossevin d7aed91043
packweb-multiphp: Change default configuration for compatibility
Some checks failed
continuous-integration/drone/pr Build is failing
/var/run is now /run (and it is what is used in the .service file)

Have a default directory configured as bind target so things works by default
2020-10-19 17:33:58 +02:00
Mathieu Trossevin d33b4baef1
Make container restart an handler 2020-10-19 14:16:53 +02:00
Mathieu Trossevin 5e13f8da4e lxc-php: Make mysql socket binding work on fresh install
/var/run/mysqld only exist after mysql is installed, as such the role
lxc-php need to run after the role mysql.

Also only cause a restart of the containers when their configuration has
been changed.

For now socket binding might only work for mysql and not mysql-oracle
(it's default socket seems to be /tmp/mysql.sock).
2020-06-17 16:06:54 +02:00
Mathieu Trossevin 49b20f9b12 lxc-php: Have mysqld.sock inside of a directory
Bind mount don't seems to work on a file so the default socket is now
always named mysqld.sock and the configurable variable is
php_conf_mysql_socket_dir that define the directory the socket will be
in.
2020-06-17 16:06:54 +02:00
Mathieu Trossevin 1d9ab0f1f3 Allows using localhost to connect to MySQL in lxc
Add 'php_conf_mysql_default_socket' variable to lxc-php role that
configure both the lxc containers and PHP so that a local MySQL database
may be used through localhost.

The PHP containers will automount /var/run/mysqld/mysqld.sock (the
default path to the mysql socket) to the path defined by the variable
'php_conf_mysql_default_socket' which will be the path used by php to
contact MySQL both with mysqli and PDO_MYSQL.
2020-06-17 16:06:53 +02:00
Ludovic Poujol ebffccae59 lxc-php: Do --no-install-recommends for ssmtp/opensmtpd
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-05 11:01:22 +02:00
Ludovic Poujol 186f3d90b9 lxc-php: Install opensmtpd as intended 2020-06-05 10:57:49 +02:00
Ludovic Poujol 90704dc712 lxc-php: Don't disable putenv() by default in PHP settings 2020-06-04 11:51:25 +02:00
Ludovic Poujol ead0b7fd88 lxc-php: Install php-sqlite by default
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-04 11:42:17 +02:00
Ludovic Poujol bd201e8791 (change) lxc-php: refactor tasks for better maintainability (again)
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-08 17:58:42 +02:00
Ludovic Poujol 135a089341 (change) lxc-php: Use OpenSMTPD for Stretch/Buster containers, and ssmtp for Jessie containers
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-01 17:23:39 +02:00
Ludovic Poujol 8bc4ff4ada lxc-php & webapps/evoadmin-web: Commit missing fixes 2020-04-01 17:17:00 +02:00