forked from ISTI-ansible-roles/ansible-roles
fix Remove the catalina webapp configurations task
This commit is contained in:
parent
9ac932ffd1
commit
927c2f79b9
|
@ -13,7 +13,7 @@
|
||||||
- name: Remove the catalina webapp configurations
|
- name: Remove the catalina webapp configurations
|
||||||
file: dest={{ smartgears_instance_path }}/conf/Catalina/localhost/{{ item.app_name }}.xml state=absent
|
file: dest={{ smartgears_instance_path }}/conf/Catalina/localhost/{{ item.app_name }}.xml state=absent
|
||||||
with_items: '{{ catalina_apps_conf }}'
|
with_items: '{{ catalina_apps_conf }}'
|
||||||
when: ( not item.state | default(True) ) and ansible_distribution_major_version <= '16'
|
when: ( not item.state | default(True) )
|
||||||
|
|
||||||
become: True
|
become: True
|
||||||
become_user: '{{ smartgears_user }}'
|
become_user: '{{ smartgears_user }}'
|
||||||
|
|
Loading…
Reference in New Issue