- name: Ensure correct kernel is installed
  become: yes
  pacman:
    state: latest
    name: "linux{% if linux_kernel_variant is defined %}-{{ linux_kernel_variant }}{% endif %}"

- name: Ensure correct CPU microcode is installed
  become: yes
  pacman:
    state: latest
    name: "intel-ucode"
  when:
    - ansible_processor[2] is match('Intel')

- name: Ensure correct CPU microcode is installed
  become: yes
  pacman:
    state: latest
    name: "amd-ucode"
  when:
    - ansible_processor[2] is match('AMD')

- name: Ensure correct kernel is installed
  become: yes
  pacman:
    state: latest
    name: "linux{% if linux_kernel_variant is defined %}-{{ linux_kernel_variant }}{% endif %}"

- name: Ensure correct CPU microcode is installed for Intel
  become: yes
  pacman:
    state: latest
    name: "intel-ucode"
  when:
    - ansible_processor[2] is match('Intel')

- name: Ensure correct CPU microcode is installed for AMD
  become: yes
  pacman:
    state: latest
    name: "amd-ucode"
  when:
    - ansible_processor[2] is match('AMD')

Update title for microcode install
Update title for microcode install
