Create the directory where we download the solr distribution.

This commit is contained in:
Andrea Dell'Amico 2018-03-07 16:21:44 +01:00
parent 6db1825c4a
commit 26f514c092
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
- name: Create a solr user - name: Create a solr user
user: name={{ solr_user }} home={{ solr_base_dir }} createhome=yes shell=/bin/bash user: name={{ solr_user }} home={{ solr_base_dir }} createhome=yes shell=/bin/bash
- name: Create the downloads directory
file: dest={{ solr_download_dir }} state=directory
- name: Download solr - name: Download solr
get_url: url='{{ solr_download_url }}' dest={{ solr_download_dir }}/solr-{{ solr_version }}.tgz validate_certs=no get_url: url='{{ solr_download_url }}' dest={{ solr_download_dir }}/solr-{{ solr_version }}.tgz validate_certs=no