=========

Installs acme-client and setup certs

Role Variables

acme_hosts: []
  - domain: www.exmaple.com
    alt_names:
      - example.com
      - git.exmaple.com
    key: "/etc/ssl/private/example.com.key"
    cert: "path_cert"
    chain_cert: "chain_cert"
    full_chain_cert: "full_cert"
    challengedir: /var/www/acme/example.com
    authority: letsencrypt
    reload_command: "systemctl reload nginx"
  - domain: www.doamin2.com
    key: "/etc/ssl/private/domain2.com.key"
    cert: "path_cert"
    full_chain_cert: "full_cert"

optional if you don't use Lets Encrypt

acme_authorities:
  - name: authority_name
    key: "/etc/ssl/private/acme_authority.key"
    api_url: "authority_url"

Example Playbook

- hosts: localhost
    roles:
        - { role: acme }

License

MIT

Description
No description provided
Readme 84 KiB
Languages
Shell 100%