mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
ITPLT-3591 switch to using the get_url module
This commit is contained in:
@@ -27,21 +27,35 @@
|
|||||||
tags:
|
tags:
|
||||||
- runtime_pkg
|
- runtime_pkg
|
||||||
|
|
||||||
- name: download the mesh distribution using maven
|
# Fetch binary and copy to temp
|
||||||
community.general.maven_artifact:
|
# optionally use basic_auth creds from secrets_manager
|
||||||
artifact_id: "mesh-distribution"
|
- name: Fetch binary
|
||||||
|
ansible.builtin.get_url:
|
||||||
|
url: "{{ atl_product_download_url }}"
|
||||||
dest: "{{ mesh_install_dir }}"
|
dest: "{{ mesh_install_dir }}"
|
||||||
extension: "tar.gz"
|
url_password: "{{ download_atlassian_password | default(omit) }}"
|
||||||
group_id: "com.atlassian.bitbucket.mesh"
|
url_username: "{{ download_atlassian_username | default(omit) }}"
|
||||||
keep_name: yes
|
owner: "{{ atl_product_user }}"
|
||||||
password: "{{ download_atlassian_password | default(omit) }}"
|
group: "{{ atl_product_user }}"
|
||||||
repository_url: "{{ bitbucket_mesh_maven_repo }}"
|
mode: 0644
|
||||||
username: "{{ download_atlassian_username | default(omit) }}"
|
force: false
|
||||||
version: "{{ atl_product_version }}"
|
register: atl_product_completed
|
||||||
mode: "0644"
|
|
||||||
owner: "{{ atl_product_user_uid }}"
|
# - name: download the mesh distribution using maven
|
||||||
group: "{{ atl_product_user_uid }}"
|
# community.general.maven_artifact:
|
||||||
register: maven_download
|
# artifact_id: "mesh-distribution"
|
||||||
|
# dest: "{{ mesh_install_dir }}"
|
||||||
|
# extension: "tar.gz"
|
||||||
|
# group_id: "com.atlassian.bitbucket.mesh"
|
||||||
|
# keep_name: yes
|
||||||
|
# password: "{{ download_atlassian_password | default(omit) }}"
|
||||||
|
# repository_url: "{{ bitbucket_mesh_maven_repo }}"
|
||||||
|
# username: "{{ download_atlassian_username | default(omit) }}"
|
||||||
|
# version: "{{ atl_product_version }}"
|
||||||
|
# mode: "0644"
|
||||||
|
# owner: "{{ atl_product_user_uid }}"
|
||||||
|
# group: "{{ atl_product_user_uid }}"
|
||||||
|
# register: maven_download
|
||||||
|
|
||||||
- name: extract the downloaded artifact
|
- name: extract the downloaded artifact
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
|
|||||||
Reference in New Issue
Block a user