--- - name: Update and upgrade all packages pacman: update_cache: yes upgrade: yes - name: Install base packages pacman: name: "{{ item }}" state: present with_items: - zsh - vim - tmux - git - openssh - htop - ranger