Skip to content

Commit

Permalink
Permit specification of lexicon DNS package version.
Browse files Browse the repository at this point in the history
  • Loading branch information
eengstrom committed Jun 2, 2020
1 parent b6ee7a4 commit aa1017e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ dehydrated_version | Which version to check out from github | HEAD
dehydrated_challengetype | Challenge to use (http-01, dns-01) | http-01
dehydrated_use_lexicon | Enable the use of lexicon | yes if dehydrated_challengetype == dns-01 else no
dehydrated_lexicon_dns | Options for running lexicon | {}
dehydrated_lexicon_dns_version | specific version of `dns-lexicon` to install | {} (== latest)
dehydrated_hooks | Dict with hook-names for which to add scripts |
dehydrated_hook_scripts | Add additional scripts to hooks-Directory | []
dehydrated_key_algo | Keytype to generate (rsa, prime256v1, secp384r1) | rsa
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dehydrated_update: yes
dehydrated_version: HEAD
dehydrated_challengetype: http-01
dehydrated_lexicon_dns: {}
#dehydrated_lexicon_dns_version: undefined # == latest
dehydrated_key_algo: rsa
dehydrated_keysize: 4096
dehydrated_ca: "https://acme-v02.api.letsencrypt.org/directory"
Expand Down
2 changes: 2 additions & 0 deletions tasks/dns-01-lexicon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
- name: Install dns-lexicon
pip:
name: dns-lexicon
version: "{{ dehydrated_lexicon_dns_version | d(omit) }}"
state: "{{ 'latest' if dehydrated_lexicon_dns_version is not defined else omit }}"
executable: "{{ dehydrated_pip_executable|default(omit) }}"

- name: Copy hook script
Expand Down

0 comments on commit aa1017e

Please sign in to comment.