Jérémy Lecour
8920ff1ee4
There is also the "check_mode: no", but commented, for when we switch to Ansible 2.2
17 lines
455 B
YAML
17 lines
455 B
YAML
---
|
|
- stat:
|
|
path: "{{ tomcat_instance_root | mandatory }}/{{ tomcat_instance_name | mandatory }}"
|
|
#check_mode: no (for migration to Ansible 2.2)
|
|
always_run: yes
|
|
register: tomcat_instance_stat
|
|
|
|
- include: tomcat.yml
|
|
- include: nagios.yml
|
|
- include: check.yml
|
|
- include: user.yml
|
|
- include: systemd.yml
|
|
- include: alias.yml
|
|
when: tomcat_instance_stat.stat.exists != True
|
|
- include: bootstrap.yml
|
|
when: tomcat_instance_stat.stat.exists != True
|