Play with directory only with download
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
5b8aa56d0f
commit
bf779ebb40
1 changed files with 9 additions and 9 deletions
|
|
@ -23,13 +23,13 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
|
||||||
|
- name: Download lego
|
||||||
|
block:
|
||||||
- name: Make lego temporary directory
|
- name: Make lego temporary directory
|
||||||
file:
|
file:
|
||||||
path: /tmp/lego_install
|
path: /tmp/lego_install
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: Download lego
|
|
||||||
block:
|
|
||||||
- name: Retreive lego archive file and extract it to temporary directory
|
- name: Retreive lego archive file and extract it to temporary directory
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
src: "{{ lego_dl_url }}/v{{ lego_ver.stdout }}/{{ lego_file }}"
|
src: "{{ lego_dl_url }}/v{{ lego_ver.stdout }}/{{ lego_file }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue