added task for the webapp folder creation

This commit is contained in:
Roberto Cirillo 2019-04-19 15:09:38 +02:00
parent 429bd25850
commit 3de842913e
1 changed files with 2 additions and 0 deletions

View File

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