Play with directory only with download
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Adrien Reslinger 2021-04-02 00:17:39 +02:00
parent 5b8aa56d0f
commit bf779ebb40
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

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