Skip to content

DEPRECATED. Ansible LetsEncrypt role to help issue new certificate and renew existing ones

License

Notifications You must be signed in to change notification settings

sorrowless/ansible_letsencrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED - sbog/letsencrypt

Role to help issue LetsEncrypt certificate.

Beware that this role is deprecated in favor of https://github.com/sorrowless/ansible_tls

Requirements

Ansible 2.4

Role Variables

## Common settings
# available acme tools: certbot, dehydrated, acme.sh
le_acme_tool: acme.sh
# LE email
le_email: admin@localhost.com
# hostname to issue cert for. Required to set if le_domain_names not used
le_hostname: ""
# domain names to issue cert for. Overrides le_hostname. Required to set
# if le_hostname not used
le_domain_names: []
# challenge type: webroot, standalone, nginx, dns
le_challenge: dns
# if we should stop any service when use standalone mode
le_stop_service: false
# create target cert bundle in HAProxy format
haproxy_bundle: false
## Acme.sh settings
# webroot path
acme_sh_webroot_path: /var/www/webroot
# type of supported dns api (used only if dns challenge used)
acme_sh_dns_type: dns_gd
# vars which need to be exported in case of dns api usage
# about naming look at https://github.com/Neilpang/acme.sh/tree/master/dnsapi
acme_sh_dns_vars:
  GD_Key: somekeyshouldbehere
  GD_Secret: secretshouldbehere
##
dns_holder: bind
aws_access_key_id: False
aws_secret_access_key: False
dh_challenge: "dns-01"
dh_basedir: /etc/ssl_certs

Dependencies

None

Example Playbook

- name: Issue needed Let's Encrypt certificate
  hosts: letsencrypt
  remote_user: root

  roles:
    - letsencrypt

License

Apache 2.0

Author Information

Stanislaw Bogatkin (https://sbog.ru)

About

DEPRECATED. Ansible LetsEncrypt role to help issue new certificate and renew existing ones

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages