acertmgr: rename vars, introduce version

This commit is contained in:
Markus 2019-02-25 08:34:21 +01:00
parent a2e6267ec8
commit 476df56fcc
5 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
---
certmgr_mode: webdir
acertmgr_mode: webdir
dns_axfr_ips:
- 216.218.133.2

View File

@ -1,3 +1,3 @@
---
certmgr_mode: standalone
acertmgr_mode: standalone

View File

@ -0,0 +1,3 @@
---
acertmgr_version: 0.8.0

View File

@ -9,7 +9,7 @@
- python-yaml
- name: Install acertmgr
git: repo=https://github.com/moepman/acertmgr.git dest=/opt/acertmgr depth=1 version=02036f56173e3a87173fed33103918c7c5279c5a
git: repo=https://github.com/moepman/acertmgr.git dest=/opt/acertmgr depth=1 version={{ acertmgr_version }}
- name: Create config directories
file: path={{ item }} state=directory mode=0755

View File

@ -1,6 +1,6 @@
---
mode: {{ certmgr_mode }}
mode: {{ acertmgr_mode }}
webdir: /var/www/acme-challenge/
ttl_days: 30
authority: "https://acme-v01.api.letsencrypt.org"