diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml index 94b9541..fb91194 100644 --- a/roles/common/handlers/main.yml +++ b/roles/common/handlers/main.yml @@ -6,6 +6,3 @@ name: cron state: restarted become: yes -- name: regen initramfs - command: /usr/sbin/update-initramfs -c -k all - become: yes diff --git a/roles/desktop-common/handlers/main.yml b/roles/desktop-common/handlers/main.yml index 7f641c5..4c70994 100644 --- a/roles/desktop-common/handlers/main.yml +++ b/roles/desktop-common/handlers/main.yml @@ -9,3 +9,6 @@ name: sshd.service state: restarted become: yes +- name: regen initramfs + command: /usr/sbin/update-initramfs -c -k all + become: yes