diff --git a/roles/ynh_config/tasks/unattended_upgrade.yml b/roles/ynh_config/tasks/unattended_upgrade.yml
index c6fe32aa52e652cf70aef39e646a51b871e05ec8..0152a34e4a3e751773879cc8b1cc28da0a52897d 100644
--- a/roles/ynh_config/tasks/unattended_upgrade.yml
+++ b/roles/ynh_config/tasks/unattended_upgrade.yml
@@ -18,17 +18,19 @@
 #                                                                             #
 #-----------------------------------------------------------------------------#
 
+- name: Configure unattended-upgrades on the Debian system
+  block:
     - name: Download unattended upgrades
       ansible.builtin.command: ansible-galaxy install hifis.unattended_upgrades,"{{ hifis_ansible_unattended_upgrades_version }}" -p "{{ _ansible_role_directory }}"
       delegate_to: localhost
       become: false
-      tags:
-      - linux
-      - update
 
     - name: Gather facts for the role
       ansible.builtin.setup:
 
     - name: Run the role
       ansible.builtin.include_role:
-        name: hifis_unattended_upgrades
+        name: hifis.unattended_upgrades
+  tags:
+    - linux
+    - update