willhallonline.acme_sh
Ansible Role: acme.sh
Installs acme.sh for RedHat/CentOS and Debian/Ubuntu linux servers.
Requirements
None.
Dependencies
None.
Example Playbook (using inventory_hostname as hostname to retrieve certificate for).
- hosts: servers
roles:
- willhallonline.acme_sh
Example Playbook (with multiple hostnames to retrieve certificates)
- hosts: servers
roles:
- willhallonline.acme_sh
vars:
acme_certificates:
- {d: ["example.com", "example1.com", "www.example.com"]}
Available Variables
# A list of certificates to request, for more names in a single certificate
# add them to the array, i.e. inside the [ ].
acme_certificates:
- {d: ["{{ inventory_hostname }}"]}
# Setup acme username (group will be the same)
acme_username: acme
acme_home_directory: /var/home
# Default to use webroot, other options are route53.
acme_method: webroot
acme_certificate_directory: /etc/acme
acme_webroot_directory: /var/www/html
License
MIT / BSD
Author Information
This role was created in 2018 by Will Hall.
About
acme.sh Lets Encrypt Client for Linux
Install
ansible-galaxy install willhallonline.acme_shLicense
mit
Downloads
1.4k
Owner
Consultant, DevOps-er and occasional coder.
