diff --git a/roles/dehydrated/defaults/main.yml b/roles/dehydrated/defaults/main.yml index d2dfe79..fcbb9b4 100644 --- a/roles/dehydrated/defaults/main.yml +++ b/roles/dehydrated/defaults/main.yml @@ -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 diff --git a/roles/dehydrated/handlers/main.yml b/roles/dehydrated/handlers/main.yml index 5875423..4498b79 100644 --- a/roles/dehydrated/handlers/main.yml +++ b/roles/dehydrated/handlers/main.yml @@ -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" \ No newline at end of file + command: "{{ dehydrated_binary }} --cron" \ No newline at end of file diff --git a/roles/dehydrated/tasks/main.yml b/roles/dehydrated/tasks/main.yml index 382fb9e..b06ada6 100644 --- a/roles/dehydrated/tasks/main.yml +++ b/roles/dehydrated/tasks/main.yml @@ -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.