new accounting service

new garr dataminer nodes added to jackrabbit iptables
This commit is contained in:
Tommaso Piccioli 2017-03-31 23:09:48 +02:00
parent 0fcfb566a6
commit cdb4c7ab17
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,10 @@
---
accounting_service_gcube_repository: 'gcube-snapshots'
accounting_service_install: False
accounting_service_ver: 1.0.0-20170323.102652-1
accounting_service_snap: 1.0.0-SNAPSHOT
accounting_service_name: accounting-service
accounting_service_filename: '{{ accounting_service_name }}-{{ accounting_service_ver }}.war'
accounting_service_url: 'http://maven.research-infrastructures.eu/nexus/service/local/repositories/{{ accounting_service_gcube_repository }}/content/org/gcube/data/publishing/{{ accounting_service_name }}/{{ accounting_service_snap}}/{{ accounting_service_filename }}'
accounting_service_war_file: '{{ accounting_service_name }}.war'

View File

@ -0,0 +1,17 @@
---
- block:
- name: Remove the installed accounting-service before upgrading
file: dest={{ item }} state=absent
with_items:
- '{{ smartgears_instance_path }}/webapps/accounting-service'
- '{{ smartgears_instance_path }}/webapps/accounting-service.war'
when: smartgears_upgrade
- name: Get the accounting-service war file
get_url: url={{ accounting_service_url }} dest={{ smartgears_instance_path }}/webapps/{{ accounting_service_war_file }}
become: True
become_user: '{{ smartgears_user }}'
when: accounting_service_install
tags: [ 'smartgears', 'accounting_service', 'tomcat' ]