GithubHelp home page GithubHelp logo

alexandre2602 / ansible-role-certbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fabiocruzcoelho/ansible-role-certbot

0.0 1.0 0.0 24 KB

A Simple Use Case Using Nginx with Certbot, Let’s Encrypt, and Cloudflare

Home Page: https://galaxy.ansible.com/fabiocruzcoelho/certbot

License: MIT License

Makefile 63.47% HTML 36.53%

ansible-role-certbot's Introduction

Welcome to role certbot 👋

CIpipeline status Version Documentation License: MIT Twitter: fcruzcoelho

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

🤝 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

ansible-role-certbot's People

Contributors

fabiocruzcoelho avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.