2017-01-03 12:41:19 +01:00
|
|
|
---
|
|
|
|
- stat:
|
2017-01-13 09:50:01 +01:00
|
|
|
path: "{{ tomcat_instance_root | mandatory }}/{{ tomcat_instance_name | mandatory }}"
|
2017-01-31 11:45:35 +01:00
|
|
|
#check_mode: no (for migration to Ansible 2.2)
|
|
|
|
always_run: yes
|
2017-01-03 12:41:19 +01:00
|
|
|
register: tomcat_instance_stat
|
|
|
|
|
|
|
|
- include: tomcat.yml
|
2017-01-31 11:47:29 +01:00
|
|
|
|
2017-01-04 16:00:58 +01:00
|
|
|
- include: nagios.yml
|
2017-01-31 11:47:29 +01:00
|
|
|
|
2017-01-03 12:41:19 +01:00
|
|
|
- include: check.yml
|
2017-01-31 11:47:29 +01:00
|
|
|
|
2017-01-03 12:41:19 +01:00
|
|
|
- include: user.yml
|
2017-01-31 11:47:29 +01:00
|
|
|
|
2017-01-03 12:41:19 +01:00
|
|
|
- include: systemd.yml
|
2017-01-31 11:47:29 +01:00
|
|
|
|
2017-01-03 12:41:19 +01:00
|
|
|
- include: alias.yml
|
2017-01-31 11:47:29 +01:00
|
|
|
when: not tomcat_instance_stat.stat.exists
|
|
|
|
|
2017-01-03 12:41:19 +01:00
|
|
|
- include: bootstrap.yml
|
2017-01-31 11:47:29 +01:00
|
|
|
when: not tomcat_instance_stat.stat.exists
|