remove extra var atl_crowd_download

This commit is contained in:
Azra Sulthana
2019-07-11 06:56:55 +00:00
parent 6de244cb71
commit fe97b9aa3b
2 changed files with 3 additions and 4 deletions

View File

@@ -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"

View File

@@ -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 }}"