Reorganizing smart-executor playbooks. Refs #6126

This commit is contained in:
Luca Frosini 2016-12-05 17:22:28 +01:00
parent d1c3d3ebd4
commit 4824e7572a
3 changed files with 18 additions and 0 deletions

View File

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

View File

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

View File

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