Giter Site home page Giter Site logo

stevekleenex / ansible-letsencrypt-standalone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chialab/ansible-letsencrypt-standalone

0.0 2.0 0.0 3 KB

[READ ONLY] Ansible role to install Certbot and generate SSL certificates via Letsencrypt (standalone plugin).

Home Page: https://github.com/Chialab/ansible-roles

ansible-letsencrypt-standalone's Introduction

Letsencrypt standalone

This role's duty is to install Certbot and to obtain SSL certificates via Letsencrypt using the standalone plugin.

Furthermore, a cron job will be set up to attempt renewal of already generated certificates (if needed) at a random hour/minute twice a day.

Variables

letsencrypt_path

Path where Certbot binary should be installed. By default, this is /usr/local/bin.

letsencrypt_staging

Whether to use staging CA to issue certificates. Using this CA will noticeably increase API limits, but this option should be used for testing purposes only, as the resulting certificate will not be trusted by user browsers. By default, this option is disabled.

letsencrypt_renew

Whether to set up automated renewal of certificates that are close to their expiration date. It is highly recommended that you leave this turned on. By default, this option is enabled.

letsencrypt_email

Email address to be used when issuing requests to Letsencrypt. By default, this option is webmaster@{{ ansible_fqdn }} (e.g. [email protected]). Despite not strictly necessary, you SHOULD customize this setting.

letsencrypt_domains

List of domains to generate certificates for. A single certificate valid for all listed domains will be generated. By default, this list is empty (i.e. no certificate is generated).

Example

---
letsencrypt_staging: yes
letsencrypt_renew: yes

letsencrypt_email: "[email protected]"
letsencrypt_domains:
  - example.com
  - www.example.com
  - idp.example.com
  - staging.example.com
  - mail.example.com

Contributing

Issues and pull requests are more than welcome!

This repo is a split of the main code that can be found here. Please, open pull requests against that repository instead.

ansible-letsencrypt-standalone's People

Contributors

fquffio avatar

Watchers

 avatar  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.