dnet-efg: java 8 and solr 5.5.

This commit is contained in:
Andrea Dell'Amico 2016-05-19 18:54:48 +02:00
parent 51b5737984
commit e51eda1197
1 changed files with 6 additions and 3 deletions

View File

@ -7,16 +7,19 @@
- name: Create the solr service and download directories
file: path={{ item }} state=directory
with_items: [ '{{ solr_data_dir }}', '{{ solr_download_dir }}' ]
with_items: [ '{{ solr_download_dir }}' ]
- name: Download solr
get_url: url='{{ solr_download_url }}' dest={{ solr_download_dir }}/solr-{{ solr_version }}.tgz validate_certs=no
- name: Unarchive solr release
unarchive: src={{ solr_download_dir }}/solr-{{ solr_version }}.tgz dest={{ solr_data_dir }}
unarchive: src={{ solr_download_dir }}/solr-{{ solr_version }}.tgz dest={{ solr_base_dir }} copy=no
- name: Link to the latest release
file: src=solr-{{ solr_version }} dest={{ solr_data_dir }} state=link
- name: create solr lib dir
file: path={{ solr_data_dir }}/server/solr/lib
file: path={{ solr_data_dir }}/server/solr/lib state=directory
- name: copy extra libraries
shell: cd {{ solr_data_dir }}; cp -u {{ item }} {{ solr_data_dir }}/server/solr/lib