stackbuilders.certbot
警告: 此库已被弃用,不再维护。它将不再接收任何安全补丁、功能或错误修复,并保留在 GitHub 上作为档案用途。如果您想使用它,我们建议您分叉该仓库并在使用前审核代码库。如需更多信息,请联系我们:info@stackbuilders.com。
推荐角色:
弃用 - 来自 Let's Encrypt 的 Certbot
此 Ansible 角色使用 Certbot 创建一个或多个 Let's Encrypt 证书。
要求
此角色需要 Ansible 2.3 或更高版本,平台要求列在元数据文件中。
安装
ansible-galaxy install stackbuilders.certbot
开始使用
您需要定义以下变量:
{{ certbot_domains }}
是一个以逗号分隔的字符串,表示您希望为其创建证书的域名。例如:'myexample.com,myexample.net'
{{ certbot_email }}
是 Certbot 用于发送到期通知的邮箱地址。
角色变量
有关所有默认变量,请查看 defaults/main.yml
示例剧本
- hosts: webservers
become: yes
roles:
- role: stackbuilders.certbot
certbot_domains: 'mydomain.com'
certbot_email: '[email protected]'
许可证
MIT
作者信息
Stack Builders Inc.
关于项目
Generates Let's Encrypt certificates using Certbot
安装
ansible-galaxy install stackbuilders.certbot
许可证
mit
下载
8.6k
拥有者
Our team strives to push the boundaries of the software industry through quality, pragmatic custom solutions that bring the visions of our clients to life.