1
0
forked from infra/ansible

acertmgr: migrate from legacy paths

This commit is contained in:
Markus 2019-05-20 19:38:32 +02:00
parent b6f0b9417d
commit 17f25f2c32
3 changed files with 3 additions and 6 deletions

View File

@ -1,3 +1,3 @@
---
acertmgr_version: 0.9.5
acertmgr_version: 0.9.6

View File

@ -12,13 +12,10 @@
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
with_items:
- /etc/acme
- /etc/acme/domains.d
file: path=/etc/acertmgr state=directory mode=0755
- name: Configure acertmgr
template: src=acme.conf.j2 dest=/etc/acme/acme.conf
template: src=acertmgr.conf.j2 dest=/etc/acertmgr/acertmgr.conf
- name: Create challenge directory
file: path=/var/www/acme-challenge/ owner=root mode=0755 state=directory