--- - hosts: localhost connection: local become: true vars_files: - "{{ ansible_distribution }}.yml" roles: - role: "{{ playbook_dir }}"