pytest-testinfra icon indicating copy to clipboard operation
pytest-testinfra copied to clipboard

Executing tests from Ansible Tower/Ansible AWX

Open 700grm opened this issue 2 years ago • 0 comments

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!

700grm avatar Aug 25 '23 09:08 700grm