dudefellah.certbot

Certbot

这是一个用于 Ansible 的 Certbot 角色。我创建它是因为现有的其他选项并没有完全符合我的需求。

像其他角色一样,这个角色可以通过你的发行版的包管理器或使用 pip 安装 certbot。你还可以指定一个域名列表,用于安装多个证书。

这个角色与其他角色的主要区别在于,如果证书的域名列表发生变化,它应该会导致使用更新的域名列表进行续订。这将使扩展单个证书请求所处理的域名列表变得简单。

要求

这个角色使用 openssl 功能,这意味着它需要安装 PyOpenSSL 和 Cryptography pip 模块。

角色变量

请查看 defaults/main.yml 中的变量文档。

依赖关系

没有角色依赖关系。

示例 Playbook

使用通过 pip 安装的 certbot 安装证书:

    - hosts: mygroup
      roles:
         - role: dudefellah.certbot
           certbot_pip_install: true
           certbot_certificates:
             - email: [email protected]
               domains:
                 - me.myhost.com
                 - myother.myhost.com
             - email: [email protected]
               domains:
                 - myotherhost.com
                 - myother.myotherhost.com

许可证

GPLv3

作者信息

Dan: https://github.com/dudefellah

关于项目

Yet Another Certbot role for Ansible

安装
ansible-galaxy install dudefellah.certbot
许可证
Unknown
下载
53.7k
拥有者