diff --git a/tasks/main.yml b/tasks/main.yml index 9a924fa..aa963db 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,2 +1,2 @@ - - include: unattended-upgrades.yml + - include_tasks: unattended-upgrades.yml tags: unattended diff --git a/tasks/unattended-upgrades.yml b/tasks/unattended-upgrades.yml index 6e7223c..aeb4972 100644 --- a/tasks/unattended-upgrades.yml +++ b/tasks/unattended-upgrades.yml @@ -26,7 +26,7 @@ update_cache: yes - name: install reboot dependencies - include: reboot.yml + include_tasks: reboot.yml when: unattended_automatic_reboot|bool - name: create APT auto-upgrades configuration