- name: Install rsync hosts: all vars_files: - ../infra_vars.yml become: true tasks: - name: Install rsync apt: name: rsync state: present