From 4378d33dff56ac87455bd2df7150013e4384023b Mon Sep 17 00:00:00 2001 From: David Kilias Date: Sun, 7 Feb 2021 21:10:45 +0100 Subject: [PATCH] dehydrated_path -> dehydrated_binary --- roles/dehydrated/defaults/main.yml | 2 +- roles/dehydrated/handlers/main.yml | 4 ++-- roles/dehydrated/tasks/main.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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.