ansible-role-tomcat/tasks/main.yml

24 lines
679 B
YAML

---
- import_tasks: tomcat-pkgs.yml
- import_tasks: tomcat-javamelody.yml
- import_tasks: tomcat-admin.yml
when: tomcat_install_admin
- import_tasks: tomcat-jmx.yml
when:
- tomcat_jmx_enabled
- tomcat_jmx_auth_enabled
tags: ['tomcat', 'jmx']
- import_tasks: tomcat-log4j-logging.yml
when:
- tomcat_use_log4j
- tomcat_version <= 7
tags: ['tomcat', 'tomcat_log4j']
- import_tasks: tomcat-logger-logging.yml
when: not tomcat_use_log4j or tomcat_version > 7
- import_tasks: access_log.yml
when: tomcat_access_log_enabled
- import_tasks: pgsql_jdbc.yml
when: tomcat_install_pg_jdbc
- import_tasks: not_pgsql_jdbc.yml
when: not tomcat_install_pg_jdbc