---
- name: Configure /etc/makepkg.conf MAKEFLAGS
  become: yes
  lineinfile:
    name: /etc/makepkg.conf
    regexp: '^#MAKEFLAGS="-j2"'
    line: 'MAKEFLAGS="-j{{ ansible_processor_vcpus + 1 }}"'
  tags:
    - makepkg

---
- name: Configure /etc/makepkg.conf MAKEFLAGS
  become: yes
  lineinfile:
    name: /etc/makepkg.conf
    regexp: 'MAKEFLAGS="-j'
    line: 'MAKEFLAGS="-j{{ ansible_processor_vcpus + 1 }}"'
    state: present
  tags:
    - makepkg

Fix MAKEFLAGS so it is not added to file each time role is run
Fix MAKEFLAGS so it is not added to file each time role is run
