ansible-roles/lxc-php/defaults/main.yml
David Prevot e5f5425f6d
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2647|9|2638|5|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/407//ansiblelint">Evolix » ansible-roles » unstable #407</a>
gitea/ansible-roles/pipeline/head This commit looks good
lxc-php: Allow one to install php83 on Bookworm container
2023-11-28 17:15:44 +01:00

41 lines
1.2 KiB
YAML

---
php_conf_short_open_tag: "Off"
php_conf_expose_php: "Off"
php_conf_display_errors: "Off"
php_conf_log_errors: "On"
php_conf_html_errors: "Off"
php_conf_allow_url_fopen: "Off"
php_conf_disable_functions: "exec,shell-exec,system,passthru,popen"
# Allows accessing a local mysql database using localhost
lxc_php_create_mysql_link: False
php_conf_mysql_socket_dir: /mysqld
php_conf_mysql_default_socket: "{{ php_conf_mysql_socket_dir }}/mysqld.sock"
lxc_php_version: Null
lxc_php_container_name: "{{ lxc_php_version }}"
lxc_php_container_releases:
php56: "jessie"
php70: "stretch"
php73: "buster"
php74: "bullseye"
php80: "bullseye"
php81: "bullseye"
php82: "bookworm"
php83: "bookworm"
lxc_php_services:
php56: 'php5-fpm.service'
php70: 'php7.0-fpm.service'
php73: 'php7.3-fpm.service'
php74: 'php7.4-fpm.service'
php80: 'php8.0-fpm.service'
php81: 'php8.1-fpm.service'
php82: 'php8.2-fpm.service'
php83: 'php8.3-fpm.service'
apt_keyring_dir: "{{ ansible_distribution_major_version is version('12', '<') | ternary('/etc/apt/trusted.gpg.d', '/etc/apt/keyrings') }}"
apt_basics_components: "{{ (ansible_virtualization_role == 'host') | ternary('main contrib non-free', 'main') }}"