dehydrated_path -> dehydrated_binary

This commit is contained in:
David Kilias 2021-02-07 21:10:45 +01:00
parent cd8352a2f4
commit 4378d33dff
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
---
dehydrated_version: "v0.7.0"
dehydrated_location: /usr/local/share/dehydrated
dehydrated_path: /usr/local/bin/dehydrated
dehydrated_binary: /usr/local/bin/dehydrated
dehydrated_config: /usr/local/etc/dehydrated
dehydrated_wellknown: /usr/local/etc/dehydrated/challenge

View file

@ -1,6 +1,6 @@
---
- name: dehydrated register
command: "{{ dehydrated_path }} --register --accept-terms"
command: "{{ dehydrated_binary }} --register --accept-terms"
- name: dehydrated cron
command: "{{ dehydrated_path }} --cron"
command: "{{ dehydrated_binary }} --cron"

View file

@ -12,7 +12,7 @@
- name: Ensure dehydrated symlink is present.
ansible.builtin.file:
src: "{{ dehydrated_location }}/dehydrated"
dest: "{{ dehydrated_path }}"
dest: "{{ dehydrated_binary }}"
state: link
- name: Ensure config directory is present.