From 3de842913ecd66c5f73eb135004f90139cbf82c4 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Fri, 19 Apr 2019 15:09:38 +0200 Subject: [PATCH] added task for the webapp folder creation --- smartgears/social-networking-library-ws/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smartgears/social-networking-library-ws/tasks/main.yml b/smartgears/social-networking-library-ws/tasks/main.yml index a046a1f8..137fd769 100644 --- a/smartgears/social-networking-library-ws/tasks/main.yml +++ b/smartgears/social-networking-library-ws/tasks/main.yml @@ -28,6 +28,8 @@ # - name: Copy the social_networking_library_ws war into the tomcat webapps dir # copy: src={{ smartgears_downloads_dir }}/{{ social_networking_library_ws_file }} dest={{ smartgears_instance_path }}/webapps/{{ social_networking_library_ws_name }}.{{ social_networking_library_ws_extension }} remote_src=yes force=yes # notify: Restart smartgears + - name: Create the socialnetworking working directory + file: path={{ smartgears_instance_path }}/webapps/{{ social_networking_library_ws_name }} state=directory owner={{ smartgears_user }} group={{ smartgears_user }} - name: Unarchive the social_networking_library_ws war into the tomcat webapps dir unarchive: copy=no src={{ smartgears_downloads_dir }}/{{ social_networking_library_ws_file }} dest={{ smartgears_instance_path }}/webapps/{{ social_networking_library_ws_name }} creates='{{ smartgears_instance_path }}/webapps/{{ social_networking_library_ws_name }}/WEB-INF/lib'