diff --git a/smartgears/accounting_aggregator_se_plugin/tasks/main.yml b/smartgears/accounting_aggregator_se_plugin/tasks/main.yml index 2926982c..bbb515dd 100644 --- a/smartgears/accounting_aggregator_se_plugin/tasks/main.yml +++ b/smartgears/accounting_aggregator_se_plugin/tasks/main.yml @@ -1,4 +1,10 @@ --- +- name: Remove the old accounting aggregator plugin + shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/accounting-aggregator-se-plugin-*-jar-with-dependencies.jar + when: accounting_aggregator_se_plugin_upgrade + tags: [ 'smartgears', 'accounting_aggregator_se', 'tomcat' ] + + - name: Get the accounting aggregator plugin and install it inside the smart executor become: True become_user: '{{ smartgears_user }}' diff --git a/smartgears/is_sweeper_se_plugin/tasks/main.yml b/smartgears/is_sweeper_se_plugin/tasks/main.yml index 3100ea84..e06ef096 100644 --- a/smartgears/is_sweeper_se_plugin/tasks/main.yml +++ b/smartgears/is_sweeper_se_plugin/tasks/main.yml @@ -1,4 +1,10 @@ --- +- name: Remove the old is-sweeper plugin + shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/is-sweeper-se-plugin-*-jar-with-dependencies.jar + when: is_sweeper_se_plugin_upgrade + tags: [ 'smartgears', 'is_sweeper_se', 'tomcat' ] + + - name: Get the is-sweeper se plugin and install it inside the smart executor become: True become_user: '{{ smartgears_user }}' diff --git a/smartgears/social_data_indexer_se_plugin/tasks/main.yml b/smartgears/social_data_indexer_se_plugin/tasks/main.yml index 7bd2d3e4..34588f87 100644 --- a/smartgears/social_data_indexer_se_plugin/tasks/main.yml +++ b/smartgears/social_data_indexer_se_plugin/tasks/main.yml @@ -1,4 +1,10 @@ --- +- name: Remove the old accounting aggregator plugin + shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/social-data-indexer-se-plugin-*-jar-with-dependencies.jar + when: social_data_indexer_se_plugin_upgrade + tags: [ 'smartgears', 'social_data_indexer_se', 'tomcat' ] + + - name: Get the social indexer plugin and install it inside the smart executor become: True become_user: '{{ smartgears_user }}'