Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executing tests from Ansible Tower/Ansible AWX #729

Open
700grm opened this issue Aug 25, 2023 · 0 comments
Open

Executing tests from Ansible Tower/Ansible AWX #729

700grm opened this issue Aug 25, 2023 · 0 comments

Comments

@700grm
Copy link
Contributor

700grm commented Aug 25, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant