Skip to content

Add ansible_test_platform option to tox.ini#131

Merged
greg-hellings merged 2 commits into
ansible:mainfrom
maxhoesel:ansible_test_platform
May 23, 2022
Merged

Add ansible_test_platform option to tox.ini#131
greg-hellings merged 2 commits into
ansible:mainfrom
maxhoesel:ansible_test_platform

Conversation

@maxhoesel

Copy link
Copy Markdown
Contributor

Fixes #130

This patch adds a new parameter to the tox.ini configuration that allows users to choose whether tox-ansible should try to automatically detect an appropiate platform for ansible-test.

As suggested, I also added some assertion logic to ensure that the platform is always a valid choice.
I assume that you want this assertion in options.py, so that any mistakes can be caught quickly upon reading the config file.
Please let me know If that is not the case!

maxhoesel added 2 commits May 19, 2022 21:21
Fixes #130

This patch adds a new parameter to the tox.ini configuration
that allows users to choose whether tox-ansible should try to
automatically detect an appropiate platform for ansible-test.
@greg-hellings

Copy link
Copy Markdown
Contributor

This is great. Thanks!

@greg-hellings

Copy link
Copy Markdown
Contributor

I don't think CI will finish before I have time to merge it this afternoon, but I will get it merged and released over the weekend.

@greg-hellings greg-hellings merged commit 0b8d4eb into ansible:main May 23, 2022
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

Successfully merging this pull request may close these issues.

[ansible-test]: Support for more flexible docker setups (using --target/--controller)

2 participants