fubarhouse.curl
Ansible Role: Curl
- This role is for systems that don't have Curl installed, or need a specific version of Curl.
- It builds and installs Curl from official sources.
- It works on 20 different types of Linux, as tested by Travis.
Requirements
None.
Role Variables
All the variables for this role are only controlled by source builds.
To enable source builds, make sure this is set to true. By default, it is set to false.
Default installations use the system's package manager, such as apt-get, yum, or dnf.
curl_buildfromsource: true
You can also add extra flags for the configure
step, like this:
curl_configure_flags:
- disable-shared
- with-ssl
This will result in the following command:
./configure --disable-shared --with-ssl
If Travis tests fail, you can choose to use a supported mirror.
To do this, specify the HTTP/S address like this:
curl_source: http://curl.haxx.se/download
Choose where to temporarily install, or use the default below:
curl_path: /tmp
Pick which version to install, or stick with the default below:
curl_version: "7.51.0"
Choose which archive type to download/extract, or keep the default below:
curl_extension: "tar.gz"
Dependencies
None.
Example Playbook
- hosts: localhost
roles:
- fubarhouse.curl
License
MIT / BSD
Author Information
This role was created in 2016 by Karl Hepworth.
Informazioni sul progetto
Installs Curl from desired released source code
Installa
ansible-galaxy install fubarhouse.curl
Licenza
mit
Download
3.3k
Proprietario
Lover of all things open source and computers - both hardware and software. My opinions are my own.