fubarhouse.curl

Ansible 角色:Curl

构建状态 稳定性-稳定 Ansible Galaxy MIT 许可

  • 专为缺少 Curl 的系统或需要特定版本 Curl 的系统设计。
  • 发布源 构建和安装指定的 Curl。
  • 通过 Travis 自动化测试支持 20 种不同的 Linux 版本。

需求

无。

角色变量

与此角色相关的所有变量仅通过源代码构建控制。

要启用源代码构建,请确保以下设置为 true,默认情况下设置为 false。

使用此角色的默认安装将适应支持系统的包管理器 - apt-get、yum 或 dnf。

curl_buildfromsource: true

额外的安装标志是可选的,运行这些标志以 configure 时,请按如下方式指定标志:

curl_configure_flags:
  - disable-shared
  - with-ssl

上述配置将验证为以下内容:

./configure --disable-shared --with-ssl

由于 Travis 测试失败,可以选择使用支持的镜像。

要使用其中一个镜像,请按以下方式指定 http/s 地址:

curl_source: http://curl.haxx.se/download

选择临时安装位置,或接受下面的默认值:

curl_path: /tmp

选择要安装的版本,或接受下面的默认值:

curl_version: "7.51.0"

选择要下载/提取的归档类型,或接受下面的默认值:

curl_extension: "tar.gz"

依赖项

无。

示例剧本

- hosts: localhost
  roles:
    - fubarhouse.curl

许可证

MIT / BSD

作者信息

此角色由 Karl Hepworth 于 2016 年创建。

关于项目

Installs Curl from desired released source code

安装
ansible-galaxy install fubarhouse.curl
许可证
mit
下载
3.3k
拥有者
Lover of all things open source and computers - both hardware and software. My opinions are my own.