--- - name: Remove the old is-exporter plugin shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/is-exporter-se-plugin-*-jar-with-dependencies.jar when: is_exporter_se_plugin_upgrade tags: [ 'smartgears', 'is_exporter_se', 'tomcat' ] - name: Get the is-exporter se plugin and install it inside the smart executor become: True become_user: '{{ smartgears_user }}' get_url: url={{ is_exporter_se_plugin_url }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib when: is_exporter_se_plugin_install notify: Restart smartgears tags: [ 'smartgears', 'is_exporter_se', 'tomcat' ]