Skip to content

mischapedia/ansible-letsencrypt

 
 

Repository files navigation

https://gist.github.com/mattiaslundberg/ba214a35060d3c8603e9b1ec8627d349

mlundberg.letsencrypt

Install nginx and letsencrypt for simple hosting of static resources.

Requirements

No host requirements. A dns record must be setup for the target.

Role Variables

letsencrypt_domain_name: The domain name to be used. There must be a working dns pointer for this name for the letsencrypt certificate to be created.

letsencrypt_email: Your email address. Required for creation of letsencrypt certificate.

letsencrypt_extra_location_blocks: Extra location block config for nginx.

Dependencies

No extrenal dependencies.

Example Playbook

Example how to use the role within a playbook:

- hosts: servers
  roles:
     - { role: mattiaslundberg.letsencrypt, letsencrypt_domain_name: "mydomain.com", letsencrypt_email: "[email protected]" }

License

MIT

Author Information

Mattias Lundberg

About

Ansible role for running Let's encrypt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 100.0%