aboutsummaryrefslogtreecommitdiffstats
path: root/roles/alpine_glibc/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/alpine_glibc/tasks')
-rw-r--r--roles/alpine_glibc/tasks/main.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/roles/alpine_glibc/tasks/main.yml b/roles/alpine_glibc/tasks/main.yml
index f2e7fbc..35aa373 100644
--- a/roles/alpine_glibc/tasks/main.yml
+++ b/roles/alpine_glibc/tasks/main.yml
@@ -9,7 +9,7 @@
- name: download pkg-glibc
get_url:
- url: "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.32-r0/glibc-{{ glibc_version }}.apk"
+ url: "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/{{ glibc_version }}/glibc-{{ glibc_version }}.apk"
dest: /tmp/glibc-latest.apk
register: pkg
@@ -18,3 +18,8 @@
args:
chdir: /tmp
when: pkg.changed
+
+- name: cleanup temporary file
+ file:
+ path: /tmp/glibc-latest.apk
+ state: absent
remember that computers suck.