forked from evolix/ansible-roles
Ludovic Poujol
9c420eec4f
Introducing a new variable `packweb_multiphp_versions: []`. While set empty, packweb-apache will setup a regular packweb. When filled with PHP Versions, it will handle : - LXC Container setup and config (as a dependencie of lxc-php role) - Ensure evoadmin-web will set the rights versions in the config files by setting evoadmin_multiphp_versions Exemple value : `packweb_multiphp_versions: ['php70', 'php73']` That will call lxc-php to create both PHP 7.0 and PHP 7.3 containers.
31 lines
1.2 KiB
YAML
31 lines
1.2 KiB
YAML
galaxy_info:
|
|
author: Evolix
|
|
description: Installation of Evolix "Pack Web" meta-role
|
|
|
|
issue_tracker_url: https://gitea.evolix.org/evolix/ansible-roles/issues
|
|
|
|
license: GPLv2
|
|
|
|
min_ansible_version: 2.2
|
|
|
|
platforms:
|
|
- name: Debian
|
|
versions:
|
|
- jessie
|
|
- stretch
|
|
- buster
|
|
|
|
allow_duplicates: true
|
|
|
|
dependencies:
|
|
- { role: evolix/apache }
|
|
- { role: evolix/php, php_apache_enable: True, when: packweb_apache_modphp }
|
|
- { role: evolix/php, php_fpm_enable: True, when: packweb_apache_fpm }
|
|
- { role: evolix/lxc-php, lxc_php_version: php56, when: "'php56' in packweb_multiphp_versions" }
|
|
- { role: evolix/lxc-php, lxc_php_version: php70, when: "'php70' in packweb_multiphp_versions" }
|
|
- { role: evolix/lxc-php, lxc_php_version: php73, when: "'php73' in packweb_multiphp_versions" }
|
|
- { role: evolix/squid, squid_localproxy_enable: True }
|
|
- { role: evolix/mysql, when: packweb_mysql_variant == "debian" }
|
|
- { role: evolix/mysql-oracle, when: packweb_mysql_variant == "oracle" }
|
|
- { role: evolix/webapps/evoadmin-web, evoadmin_enable_vhost: "{{ packweb_enable_evoadmin_vhost }}", evoadmin_multiphp_versions: "{{ packweb_multiphp_versions }}" }
|