From 927c2f79b91676db3bb9da8d94155ef6cc530cdf Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Fri, 3 May 2019 16:58:20 +0200 Subject: [PATCH] fix Remove the catalina webapp configurations task --- smartgears/catalina-app-conf/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartgears/catalina-app-conf/tasks/main.yml b/smartgears/catalina-app-conf/tasks/main.yml index 1e724f3f..84aa3a3e 100644 --- a/smartgears/catalina-app-conf/tasks/main.yml +++ b/smartgears/catalina-app-conf/tasks/main.yml @@ -13,7 +13,7 @@ - name: Remove the catalina webapp configurations file: dest={{ smartgears_instance_path }}/conf/Catalina/localhost/{{ item.app_name }}.xml state=absent 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_user: '{{ smartgears_user }}'