pytest-testinfra
pytest-testinfra copied to clipboard
Executing tests from Ansible Tower/Ansible AWX
Hi,
I'm trying to run TestInfra from Ansible Tower on remote hosts. However, every solution I've explored requires creating an Ansible Playbook that will be used to set up the environment and run the TestInfra/pytest scripts, including the creation and deployment of containers.
I can easily execute it from the command line:
py.test --hosts=web --ansible-inventory=inventory --connection=ansible test_web.py
Is there is a way integrating ans executing test scripts from Ansible Tower, without installing any additional software on remote hosts?
Would appreciate any ideas!