13 lines
585 B
YAML
13 lines
585 B
YAML
---
|
|
- name: ANSISTRANO | download | Create release folder
|
|
file:
|
|
state: directory
|
|
path: "{{ ansistrano_release_path.stdout }}"
|
|
|
|
# We should be able to remove default(omit) filters and add defaults once we deprecate Ansible 1.9
|
|
- name: ANSISTRANO | download | Download artifact
|
|
get_url:
|
|
url: "{{ ansistrano_get_url }}"
|
|
dest: "{{ ansistrano_release_path.stdout }}/{{ ansistrano_get_url | urlsplit('path') | basename }}"
|
|
force_basic_auth: "{{ ansistrano_download_force_basic_auth | default(omit) }}"
|
|
headers: "{{ ansistrano_download_headers | default(omit) }}"
|