forked from infra/ansible
acertmgr: rename vars, introduce version
This commit is contained in:
parent
a2e6267ec8
commit
476df56fcc
@ -1,6 +1,6 @@
|
||||
---
|
||||
|
||||
certmgr_mode: webdir
|
||||
acertmgr_mode: webdir
|
||||
|
||||
dns_axfr_ips:
|
||||
- 216.218.133.2
|
||||
|
@ -1,3 +1,3 @@
|
||||
---
|
||||
|
||||
certmgr_mode: standalone
|
||||
acertmgr_mode: standalone
|
||||
|
3
roles/acertmgr/detaults/main.yml
Normal file
3
roles/acertmgr/detaults/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
|
||||
acertmgr_version: 0.8.0
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user