forked from Netz39_Admin/netz39-infra-ansible
add some documentation in README.md
This commit is contained in:
parent
ef6adba1a6
commit
f7a1fe8143
1 changed files with 17 additions and 0 deletions
17
roles/dehydrated-domains/README.md
Normal file
17
roles/dehydrated-domains/README.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Dehydrated Domains
|
||||
|
||||
Ansible role to configure domains for use with dehydrated
|
||||
|
||||
## Usage
|
||||
|
||||
```yaml
|
||||
vars:
|
||||
dehydrated_domains:
|
||||
name: 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