forked from Netz39_Admin/netz39-infra-ansible
einrückungen repariert
This commit is contained in:
parent
4d2287d525
commit
9ff8f0ad6c
1 changed files with 6 additions and 7 deletions
|
@ -7,12 +7,11 @@ Ansible role to configure domains for use with dehydrated
|
|||
```yaml
|
||||
vars:
|
||||
dehydrated_domains:
|
||||
name: example.com
|
||||
- name: example.com
|
||||
alternate_names: "www.example.com web.example.com"
|
||||
deploy_challenge_hook: printf 'server 127.0.0.1\nupdate add _acme-challenge.%s 300 IN TXT "%s"\nsend\n' "${DOMAIN}" "${TOKEN_VALUE}" | nsupdate -k /var/run/named/session.key
|
||||
clean_challenge_hook: printf 'server 127.0.0.1\nupdate delete _acme-challenge.%s TXT "%s"\nsend\n' "${DOMAIN}" "${TOKEN_VALUE}" | nsupdate -k /var/run/named/session.key
|
||||
|
||||
roles:
|
||||
- role: dehydrated-domains
|
||||
|
||||
```
|
Loading…
Reference in a new issue