From d0129ae235ca31528fc2c37ea950688a99ef2432 Mon Sep 17 00:00:00 2001 From: Martin Heil Date: Fri, 15 May 2020 19:43:22 +0200 Subject: [PATCH] add readme --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..13acb59 --- /dev/null +++ b/README.md @@ -0,0 +1,47 @@ +========= + +Installs acme-client and setup certs + +Role Variables +-------------- + +```yml +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 +```yml +acme_authorities: + - name: authority_name + key: "/etc/ssl/private/acme_authority.key" + api_url: "authority_url" +``` + +Example Playbook +---------------- + +```yml +- hosts: localhost + roles: + - { role: acme } +``` + +License +------- + +MIT