From fe97b9aa3b85772e00e13f8eebe9329cdae99511 Mon Sep 17 00:00:00 2001 From: Azra Sulthana Date: Thu, 11 Jul 2019 06:56:55 +0000 Subject: [PATCH] remove extra var atl_crowd_download --- roles/product_install/defaults/main.yml | 1 - roles/product_install/tasks/crowd_install.yml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/roles/product_install/defaults/main.yml b/roles/product_install/defaults/main.yml index feaf5dc..b81fd0c 100644 --- a/roles/product_install/defaults/main.yml +++ b/roles/product_install/defaults/main.yml @@ -16,7 +16,6 @@ atl_crowd_latest_url: "https://www.atlassian.com/software/crowd/downloads/binary atl_product_download_filename: "{{ atl_download_edition | default(atl_product_edition) }}.{{ atl_product_version }}.bin" atl_product_download: "{{ atl_installer_temp }}/{{ atl_product_download_filename }}" -atl_crowd_download: "{{ atl_installer_temp }}" atl_product_varfile: "{{ atl_installer_temp }}/{{ atl_product_family }}.varfile" atl_marketplace_base: "https://marketplace.atlassian.com" diff --git a/roles/product_install/tasks/crowd_install.yml b/roles/product_install/tasks/crowd_install.yml index a11658c..12a51c2 100644 --- a/roles/product_install/tasks/crowd_install.yml +++ b/roles/product_install/tasks/crowd_install.yml @@ -4,7 +4,7 @@ - name: Fetch crowd installer get_url: url: "{{atl_crowd_download_url}}" - dest: "{{atl_crowd_download}}" + dest: "{{atl_installer_temp}}" mode: 0755 force: false when: not atl_latest_version @@ -12,14 +12,14 @@ - name: Fetch latest crowd installer get_url: url: "{{ atl_crowd_latest_url }}" - dest: "{{atl_crowd_download}}" + dest: "{{atl_installer_temp}}" mode: 0755 force: false when: atl_latest_version != "" - name: locate installer - find: paths="{{ atl_crowd_download }}" patterns="*{{atl_product_edition}}*.tar.gz" + find: paths="{{ atl_installer_temp }}" patterns="*{{atl_product_edition}}*.tar.gz" register: find_result - debug: msg = " {{find_result }}"