certbot
Welcome to role certbot 👋
Installs and configures Certbot (for Let's Encrypt with nginx and cloudflare_dns). This role was developed based on ansible-role-certbot from geerlingguy.
Install
- requirements.yml
---
- name: certbot
src: fabiocruzcoelho.certbot
ansible-galaxy install -r requirements.yml
Role Variables
Available variables are along with default values see: defaults/main.yml
Examplo playbook
---
- name: Lint it
hosts: all
gather_facts: yes
become: yes
vars:
zone: example.com
email: [email protected]
token: 72d9c6c562bd8084509de315d37d6124636
tasks:
- name: Lint role certbot
include_role:
name: certbot
vars:
certbot_cloudflare_create_if_missing: true
certbot_letsencrypt_create_if_missing: true
certbot_cloudflare_dns_zone: "{{ zone }}"
certbot_cloudflare_dns_api_token: "{{ token }}"
certbot_cloudflare_dns_email: "{{ email }}"
certbot_cloudflare_dns_value_ip: "200.200.200.1"
certbot_cloudflare_dns_record:
- "*"
- example.com
certbot_certs:
- domains:
- "*.example.com"
- example.com
Run tests
Dependence
Creating API tokens Cloudflare
Ansible role Tester
git clone https://gitlab.com/estudosdevops/ansible/roles/certbot.git
make test
Author
👤 Fabio Coelho
- Twitter: @fcruzcoelho
- Github: @fabiocruzcoelho
- LinkedIn: @fcruzcoelho
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2020 Fabio Coelho.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator
About
Installs and configures Certbot (for Let's Encrypt with nginx and cloudflare_dns).
Install
ansible-galaxy install fabiocruzcoelho/ansible-role-certbot
License
mit
Downloads
33
Owner
Profissional com 11 anos de experiência em infraestrutura de TI, sendo que nos últimos 3 anos venho atuando como DevOps Engineer