forked from ISTI-ansible-roles/ansible-roles
addeed task for managing web.xml
This commit is contained in:
parent
00fb8b8e16
commit
8f1ea45d64
|
@ -25,10 +25,20 @@
|
|||
when: social_networking_library_ws_download is changed
|
||||
notify: Restart smartgears
|
||||
|
||||
- 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
|
||||
# - 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: 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'
|
||||
register: socialnetworking_updated
|
||||
notify: Restart smartgears
|
||||
|
||||
- name: Install the socialnetworking web.xml
|
||||
template: src=web.xml.j2 dest={{ smartgears_instance_path }}/webapps/{{ social_networking_library_ws_name }}/WEB-INF/web.xml
|
||||
notify: Restart smartgears
|
||||
tags: [ 'social_networking_library_ws', 'socialnetworking_webxml', 'tomcat' ]
|
||||
|
||||
become: True
|
||||
become_user: '{{ d4science_user }}'
|
||||
when: social_networking_library_ws_install
|
||||
|
|
Loading…
Reference in New Issue