fix Remove the catalina webapp configurations task

This commit is contained in:
Roberto Cirillo 2019-05-03 16:58:20 +02:00
parent 9ac932ffd1
commit 927c2f79b9
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}'