- name: Write pacman.conf copy: src=pacman.conf dest=/etc/pacman.conf mode=0644 - name: update cache htop pacman: update_cache=yes - name: install htop pacman: name=htop state=present