ansible-roles/lxc-php
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
..
defaults Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
files Rename Sury GPG key 2021-05-06 13:44:22 +02:00
handlers lxc-php: restart container instead of reload after php-fpm unit's umask change. 2022-10-26 15:23:46 +02:00
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
tasks Replace the include module with include_tasks or import_tasks 2023-01-03 14:43:42 +01:00
templates Proper jinja spacing 2022-12-28 09:03:37 +01:00
README.md Add lxc-php README file 2019-06-18 18:19:45 +02:00

lxc-php

Create LXC containers and install all the required PHP packages as a way to use multiple PHP version on Debian.

note : this role depend on the lxc role.

Tasks

Everything is in the tasks/main.yml file.

Available variables

As this role depend on the lxc role, please refer to it for a variable exhaustive list.

Here is the list of available variables for the PHP part:

  • php_conf_short_open_tag Default: "Off"
  • php_conf_expose_php Default: "Off"
  • php_conf_display_errors Default: "Off"
  • php_conf_log_errors Default: "On"
  • php_conf_html_errors Default: "Off"
  • php_conf_allow_url_fopen Default: "Off"
  • php_conf_disable_functions Default: "exec,shell-exec,system,passthru,putenv,popen"