Skip to content

Instantly share code, notes, and snippets.

@varnav
Created December 16, 2019 18:56
Show Gist options
  • Select an option

  • Save varnav/9c4709cf49d971dee5b6af6df9a5e20c to your computer and use it in GitHub Desktop.

Select an option

Save varnav/9c4709cf49d971dee5b6af6df9a5e20c to your computer and use it in GitHub Desktop.
New curl for EL7 ansible
- name: Get curl {{curlver}} packages
get_url: url={{ item }} dest=/tmp/
with_items:
- https://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/curl-{{ curlver }}-2.0.cf.rhel7.x86_64.rpm
- https://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/libcurl-{{ curlver }}-2.0.cf.rhel7.x86_64.rpm
- https://mirror.city-fan.org/ftp/contrib/libraries/libmetalink-0.1.3-9.rhel7.x86_64.rpm
- https://mirror.city-fan.org/ftp/contrib/libraries/c-ares-1.15.0-4.0.cf.rhel7.x86_64.rpm
- https://mirror.city-fan.org/ftp/contrib/libraries/libssh2-1.9.0-3.0.cf.rhel7.x86_64.rpm
- https://mirror.city-fan.org/ftp/contrib/libraries/libidn-1.34-3.0.el7.x86_64.rpm
tags: curl
- name: Install curl {{curlver}} packages
package:
name:
- /tmp/curl-{{ curlver }}-2.0.cf.rhel7.x86_64.rpm
- /tmp/libcurl-{{ curlver }}-2.0.cf.rhel7.x86_64.rpm
- /tmp/libmetalink-0.1.3-9.rhel7.x86_64.rpm
- /tmp/c-ares-1.15.0-4.0.cf.rhel7.x86_64.rpm
- /tmp/libssh2-1.9.0-3.0.cf.rhel7.x86_64.rpm
- /tmp/libidn-1.34-3.0.el7.x86_64.rpm
state: present
tags: curl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment