packweb-apache: manual dependencies resolution
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
4050dbea7a
commit
faeb92230b
|
@ -31,6 +31,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
* lxc-solr: download URL according to Solr Version
|
* lxc-solr: download URL according to Solr Version
|
||||||
* lxc-solr: set homedir and port at install
|
* lxc-solr: set homedir and port at install
|
||||||
* minifirewall: whitelist deb.freexian.com
|
* minifirewall: whitelist deb.freexian.com
|
||||||
|
* packweb-apache: manual dependencies resolution
|
||||||
* redis: some values should be quoted
|
* redis: some values should be quoted
|
||||||
* redis: variable to disable transparent hugepage (default: do nothing)
|
* redis: variable to disable transparent hugepage (default: do nothing)
|
||||||
* squid: whitelist deb.freexian.com
|
* squid: whitelist deb.freexian.com
|
||||||
|
|
|
@ -26,18 +26,5 @@ galaxy_info:
|
||||||
|
|
||||||
allow_duplicates: true
|
allow_duplicates: true
|
||||||
|
|
||||||
dependencies:
|
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/squid, squid_localproxy_enable: True }
|
|
||||||
- { role: evolix/mysql, when: packweb_mysql_variant == "debian" }
|
|
||||||
- { role: evolix/mysql-oracle, when: packweb_mysql_variant == "oracle" }
|
|
||||||
- { role: evolix/lxc-php, lxc_php_version: php56, lxc_php_create_mysql_link: True, when: "'php56' in packweb_multiphp_versions" }
|
|
||||||
- { role: evolix/lxc-php, lxc_php_version: php70, lxc_php_create_mysql_link: True, when: "'php70' in packweb_multiphp_versions" }
|
|
||||||
- { role: evolix/lxc-php, lxc_php_version: php73, lxc_php_create_mysql_link: True, when: "'php73' in packweb_multiphp_versions" }
|
|
||||||
- { role: evolix/lxc-php, lxc_php_version: php74, lxc_php_create_mysql_link: True, when: "'php74' in packweb_multiphp_versions" }
|
|
||||||
- { role: evolix/lxc-php, lxc_php_version: php80, lxc_php_create_mysql_link: True, when: "'php80' in packweb_multiphp_versions" }
|
|
||||||
- { role: evolix/lxc-php, lxc_php_version: php81, lxc_php_create_mysql_link: True, when: "'php81' in packweb_multiphp_versions" }
|
|
||||||
- { role: evolix/webapps/evoadmin-web, evoadmin_enable_vhost: "{{ packweb_enable_evoadmin_vhost }}", evoadmin_multiphp_versions: "{{ packweb_multiphp_versions }}" }
|
|
||||||
- { role: evolix/evoacme }
|
|
||||||
|
|
80
packweb-apache/tasks/dependencies.yml
Normal file
80
packweb-apache/tasks/dependencies.yml
Normal file
|
@ -0,0 +1,80 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/apache
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/php
|
||||||
|
vars:
|
||||||
|
php_apache_enable: True
|
||||||
|
when: packweb_apache_modphp
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/php
|
||||||
|
vars:
|
||||||
|
php_fpm_enable: True
|
||||||
|
when: packweb_apache_fpm
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/squid
|
||||||
|
vars:
|
||||||
|
squid_localproxy_enable: True
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/mysql
|
||||||
|
when: packweb_mysql_variant == "debian"
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/mysql-oracle
|
||||||
|
when: packweb_mysql_variant == "oracle"
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/lxc-php
|
||||||
|
vars:
|
||||||
|
lxc_php_version: php56
|
||||||
|
lxc_php_create_mysql_link: True
|
||||||
|
when: "'php56' in packweb_multiphp_versions"
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/lxc-php
|
||||||
|
vars:
|
||||||
|
lxc_php_version: php70
|
||||||
|
lxc_php_create_mysql_link: True
|
||||||
|
when: "'php70' in packweb_multiphp_versions"
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/lxc-php
|
||||||
|
vars:
|
||||||
|
lxc_php_version: php73
|
||||||
|
lxc_php_create_mysql_link: True
|
||||||
|
when: "'php73' in packweb_multiphp_versions"
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/lxc-php
|
||||||
|
vars:
|
||||||
|
lxc_php_version: php74
|
||||||
|
lxc_php_create_mysql_link: True
|
||||||
|
when: "'php74' in packweb_multiphp_versions"
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/lxc-php
|
||||||
|
vars:
|
||||||
|
lxc_php_version: php80
|
||||||
|
lxc_php_create_mysql_link: True
|
||||||
|
when: "'php80' in packweb_multiphp_versions"
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/lxc-php
|
||||||
|
vars:
|
||||||
|
lxc_php_version: php81
|
||||||
|
lxc_php_create_mysql_link: True
|
||||||
|
when: "'php81' in packweb_multiphp_versions"
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/webapps/evoadmin-web
|
||||||
|
vars:
|
||||||
|
evoadmin_enable_vhost: "{{ packweb_enable_evoadmin_vhost }}"
|
||||||
|
evoadmin_multiphp_versions: "{{ packweb_multiphp_versions }}"
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: evolix/evoacme
|
|
@ -1,5 +1,8 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Dependencies are satisfied
|
||||||
|
include_tasks: dependencies.yml
|
||||||
|
|
||||||
- fail:
|
- fail:
|
||||||
msg: only compatible with Debian >= 8
|
msg: only compatible with Debian >= 8
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue