--- - name: Update and upgrade all packages pacman: update_cache: yes upgrade: yes - name: Install base CLI packages pacman: name: "{{ item }}" state: present with_items: - sudo - wget - cronie - zsh - vim - tmux - ruby - git - openssh - sshfs - htop - ntop - iotop - glances - ranger - name: Install extra CLI packages pacman: name: "{{ item }}" state: present with_items: - moc - newsboat - pass when: not minimal - name: More colorfull pacman lineinfile: dest: /etc/pacman.conf regexp: '^#Color$' line: 'Color' backrefs: yes