Skip to content

Commit

Permalink
Forgot .path on tmpdir
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Aug 22, 2021
1 parent e9bfcf0 commit f274856
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/download-and-extract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
unarchive:
remote_src: true
src: "{{ base_url }}/{{ arch }}/{{ version }}"
dest: "{{ tmpdir }}"
dest: "{{ tmpdir.path }}"

# I could replace this whole file with this single task by using the new
# "include" parameter as below. I want this to work with Ansible 2.9 as
Expand All @@ -20,11 +20,11 @@

- name: Copy micromamba to destination
copy:
src: "{{ tmpdir }}/bin/micromamba"
src: "{{ tmpdir.path }}/bin/micromamba"
dest: "{{ dest }}"
mode: "u=rwx,g=rx,o=rx"

- name: Remove temporary directory
file:
path: "{{ tmpdir }}"
path: "{{ tmpdir.path }}"
state: absent

0 comments on commit f274856

Please sign in to comment.