--- - name: update pacman cache pacman: update_cache: yes - name: install packages for admins pacman: name: '{{ item }}' state: present with_items: - bash-completion - bridge-utils - htop - nload - rxvt-unicode-terminfo - screen - tmux - vim - name: copy bashrc copy: src: bashrc dest: /root/.bashrc