From 06400afc87f0b8e37bcac7f855f91efa04cbebaa Mon Sep 17 00:00:00 2001 From: David Kilias Date: Thu, 25 Feb 2021 14:47:59 +0100 Subject: [PATCH] rename handler, cron didn't really fit --- roles/dehydrated/handlers/main.yml | 2 +- roles/dehydrated/tasks/domains.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/dehydrated/handlers/main.yml b/roles/dehydrated/handlers/main.yml index 9552e98..5a55b3a 100644 --- a/roles/dehydrated/handlers/main.yml +++ b/roles/dehydrated/handlers/main.yml @@ -2,6 +2,6 @@ - name: dehydrated register command: "{{ dehydrated_binary }} --register --accept-terms" -- name: dehydrated cron +- name: dehydrated run command: "{{ dehydrated_binary }} --cron" when: dehydrated_force_update|default(False)|bool \ No newline at end of file diff --git a/roles/dehydrated/tasks/domains.yml b/roles/dehydrated/tasks/domains.yml index d082e39..102b8aa 100644 --- a/roles/dehydrated/tasks/domains.yml +++ b/roles/dehydrated/tasks/domains.yml @@ -16,4 +16,4 @@ path: "{{ dehydrated_config_dir }}/domains.txt" line: "{{ item.name }}{% for an in item.alternate_names %} {{ an|default(omit) }}{% endfor %}" with_items: dehydrated_domains - notify: dehydrated cron \ No newline at end of file + notify: dehydrated run \ No newline at end of file