---

- ansible.builtin.include_role:
    name: evolix/apache

- ansible.builtin.include_role:
    name: evolix/php
  vars:
    php_apache_enable: True
  when: packweb_apache_modphp

- ansible.builtin.include_role:
    name: evolix/php
  vars:
    php_fpm_enable: True
  when: packweb_apache_fpm

- ansible.builtin.include_role:
    name: evolix/squid
  vars:
    squid_localproxy_enable: True

- include_role:
    name: evolix/mysql
  when: packweb_mysql_variant == "debian"

- ansible.builtin.include_role:
    name: evolix/mysql-oracle
  when: packweb_mysql_variant == "oracle"

- ansible.builtin.include_role:
    name: evolix/lxc-php
  vars:
    lxc_php_version: php56
    lxc_php_create_mysql_link: True
  when: "'php56' in packweb_multiphp_versions"

- ansible.builtin.include_role:
    name: evolix/lxc-php
  vars:
    lxc_php_version: php70
    lxc_php_create_mysql_link: True
  when: "'php70' in packweb_multiphp_versions"

- ansible.builtin.include_role:
    name: evolix/lxc-php
  vars:
    lxc_php_version: php73
    lxc_php_create_mysql_link: True
  when: "'php73' in packweb_multiphp_versions"

- ansible.builtin.include_role:
    name: evolix/lxc-php
  vars:
    lxc_php_version: php74
    lxc_php_create_mysql_link: True
  when: "'php74' in packweb_multiphp_versions"

- ansible.builtin.include_role:
    name: evolix/lxc-php
  vars:
    lxc_php_version: php80
    lxc_php_create_mysql_link: True
  when: "'php80' in packweb_multiphp_versions"

- ansible.builtin.include_role:
    name: evolix/lxc-php
  vars:
    lxc_php_version: php81
    lxc_php_create_mysql_link: True
  when: "'php81' in packweb_multiphp_versions"

- ansible.builtin.include_role:
    name: evolix/lxc-php
  vars:
    lxc_php_version: php82
    lxc_php_create_mysql_link: True
  when: "'php82' in packweb_multiphp_versions"

- ansible.builtin.include_role:
    name: evolix/webapps/evoadmin-web
  vars:
    evoadmin_enable_vhost: "{{ packweb_enable_evoadmin_vhost }}"
    evoadmin_multiphp_versions: "{{ packweb_multiphp_versions }}"

- include_role:
    name: evolix/evoacme
