Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 793 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 793 Bytes

ansible-role-acme_sh

Install and configure acme.sh using ansible.

This has some assumptions which are true for my case, e.g. identifier validation is done using FreeDNS, but it should be easily possible to modify the tasks for a more generalized environment.

Features

  • Run acme.sh as unprivileged user.
  • Custom acme.sh installation with split install/config/certificate paths.
  • Use systemd timer instead of cron.

Configuration

acme_domains:
  - domain: example.com
    keylength: ec-384
    san: 
      - www.example.com
      - host.example.com
    reloadcmd: "sudo systemctl reload nginx.service"
    key_group: www-data
    key_mode: 0640
  - domain: example.org
    keylength: 3072