aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/alpine_glibc/tasks/main.yml7
-rw-r--r--roles/alpine_glibc/vars/main.yml2
2 files changed, 7 insertions, 2 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
diff --git a/roles/alpine_glibc/vars/main.yml b/roles/alpine_glibc/vars/main.yml
index e9d687e..31710fb 100644
--- a/roles/alpine_glibc/vars/main.yml
+++ b/roles/alpine_glibc/vars/main.yml
@@ -3,4 +3,4 @@
---
-glibc_version: 2.32-r0
+glibc_version: 2.33-r0
remember that computers suck.