1 2 3 4 5 6 7 8 9 10 11 12
--- - name: "Run mkinitcpio" become: true ansible.builtin.command: cmd: "mkinitcpio -P" changed_when: true - name: "Run update-initramfs" become: true ansible.builtin.command: cmd: "update-initramfs -u -k all" changed_when: true