---

- name: Create {{ target_user }} user
  user: >
    name={{ target_user }}

- name: Allow passwordless sudo for {{ target_user }} user
  lineinfile: >
    dest=/etc/sudoers
    state=present
    line="{{ target_user }} ALL=(ALL) NOPASSWD: ALL"
    insertafter="root ALL=(ALL) ALL"

---

- name: Create {{ target_user }} user
  user: >
    name={{ target_user }}

- name: Allow passwordless sudo for {{ target_user }} user
  lineinfile: >
    dest=/etc/sudoers
    state=present
    line="{{ target_user }} ALL=(ALL) NOPASSWD: ALL"
    insertafter="root ALL=(ALL) ALL"

- name: Insall my usual packages
  pacman: >
    name={{ item }}
    state=present
    update_cache=yes
  with_items:
  - axel
  - gvim
  - htop
  - mc
  - rsync
  - smplayer
  - terminator
  - thunar
  - wget

Add 1st batch of packages (easy ones)
base: Add 1st batch of packages (easy ones)
