--- - hosts: localhost tags: - classic pre_tasks: - name: Copy spec file to remote machine copy: src: "{{ playbook_dir }}/../python-argh.spec" dest: /tmp/python-argh.spec - name: Install build dependencies shell: dnf -y build-dep /tmp/python-argh.spec args: warn: false roles: - role: standard-test-source - role: standard-test-basic tests: - smoke: dir: ./source run: python3 setup.py test