blob: f2e7fbc2696be38d9b4e886f148efd910d557fd7 (
plain) (
tree)
|
|
# alpine glibc ~~ roles/alpine_glibc/tasks/main.yml
# install glibc for alpine host
---
- name: add pkg-glibc public key
shell: wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
- name: download pkg-glibc
get_url:
url: "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.32-r0/glibc-{{ glibc_version }}.apk"
dest: /tmp/glibc-latest.apk
register: pkg
- name: install pkg-glibc
shell: apk add glibc-latest.apk
args:
chdir: /tmp
when: pkg.changed
|