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