--- - hosts: all roles: - common become: yes tasks: - name: Update apt cache and install required packages apt: name: "{{ item }}" update_cache: yes loop: - curl - tree - syslog-ng - vsftpd - tftpd-hpa