Coder Social home page Coder Social logo

ansible-role-certbot's Introduction

Build Status CircleCI

wtanaka.certbot

Installs certbot command line tools for the letsencrypt certificate authority

Example Playbook

- hosts: servers
  roles:
     - role: wtanaka.certbot
       # Read the TOS then uncomment this
       # letsencrypt_agree_tos: --agree-tos
       letsencrypt_email: [email protected]
       letsencrypt_webroot: /var/www/html
       # Uncomment to renew on every run (by default waits till 30
       # days till expiration)
       # letsencrypt_renew_by_default: --renew-by-default
       letsencrypt_domains:
       - wtanaka.com
       - www.wtanaka.com

Or you can include just the role, and configure it in

PLAYBOOK
- hosts: servers
  roles:
     - wtanaka.certbot

HOST_VARS file:

# Read the TOS then uncomment this
# letsencrypt_agree_tos: --agree-tos
letsencrypt_email: [email protected]
letsencrypt_webroot: /var/www/html
# Uncomment to renew on every run (by default waits till 30
# days till expiration)
# letsencrypt_renew_by_default: --renew-by-default
letsencrypt_domains:
- wtanaka.com
- www.wtanaka.com

letsencrypt_should_shortcircuit

Default: True

When True, this role short-circuits itself if {{letsencrypt_binary}} is already in the path

letsencrypt_fake_key

Set to True in order to disable executing certbot and install a self-signed key in each of the letsencrypt_domains directories. Nothing will be installed if letsencrypt_domains is empty

For example, this could be used in an integration test environment or in a testing or staging environment.

letsencrypt_domains

This is a list of domain names to pass to certbot.

Example:

letsencrypt_domains:
- wtanaka.com
- www.wtanaka.com

Setting this to an empty list will disable executing certbot:

letsencrypt_domains: []

letsencrypt_reload_webserver_action

Set this to the service that, when reloaded, will re-read your webserver configuration files.

For example:

letsencrypt_reload_service: nginx

The full set of configuration options available are visible in defaults/main.yml

License

GPLv2

Author Information

http://wtanaka.com/

ansible-role-certbot's People

Contributors

kporras07 avatar wtanaka avatar

Stargazers

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