--- - hosts: localhost tags: - classic pre_tasks: - name: Copy spec file to remote machine copy: src: "{{ playbook_dir }}/../python-argcomplete.spec" dest: /tmp/python-argcomplete.spec - name: Install build dependencies shell: dnf -y build-dep /tmp/python-argcomplete.spec args: warn: false roles: - role: standard-test-source - role: standard-test-basic tests: - smoke: dir: ./source run: sed -i -e "1s|#!.*python.*|#!/usr/bin/python3|" test/prog scripts/* && sed -i -e "s|python |python3 |" test/test.py && python3 setup.py test