From 26f514c0929d85a74224ffed431b757c691c1eb0 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 7 Mar 2018 16:21:44 +0100 Subject: [PATCH] Create the directory where we download the solr distribution. --- solr/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/solr/tasks/main.yml b/solr/tasks/main.yml index 9d1e982..df45e50 100644 --- a/solr/tasks/main.yml +++ b/solr/tasks/main.yml @@ -3,6 +3,9 @@ - name: Create a solr user 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 get_url: url='{{ solr_download_url }}' dest={{ solr_download_dir }}/solr-{{ solr_version }}.tgz validate_certs=no