- debug: msg: "atl_latest_version - {{atl_latest_version}}" - name: Fetch crowd installer get_url: url: "{{atl_crowd_download_url}}" dest: "{{atl_installer_temp}}" mode: 0755 force: false when: not atl_latest_version - name: Fetch latest crowd installer get_url: url: "{{ atl_crowd_latest_url }}" dest: "{{atl_installer_temp}}" mode: 0755 force: false when: atl_latest_version != "" - name: locate installer find: paths="{{ atl_installer_temp }}" patterns="*{{atl_product_edition}}*.tar.gz" register: find_result - debug: msg = " {{find_result }}" - name: unarchive become: true unarchive: src: "{{ item.path }}" dest: "{{atl_product_installation_versioned}}" with_items: "{{ find_result.files }}" - name: Symlink the installed version to current file: src: "{{ atl_product_installation_versioned }}/atlassian-crowd-{{atl_product_version}}" dest: "{{ atl_product_installation_current }}" state: link force: true