-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
AnsibleRunnerV2 broken on upstream changes to PlaybookCLI in devel #401
Comments
The commit introducing the change, from the PR and before the squash post merge: ansible/ansible@39e4421 |
As of ansible/ansible#50069 the base_parser function no longer exists. Use ansible.arguments.optparse_helpers.create_base_parser instead. Fixes: pytest-dev#401
As of ansible/ansible#50069 the base_parser function no longer exists. Use ansible.arguments.optparse_helpers.create_base_parser instead. Fixes: pytest-dev#401
As of ansible/ansible#50069 the base_parser function no longer exists. Use ansible.arguments.optparse_helpers.create_base_parser instead. Fixes: pytest-dev#401
Using https://github.com/ansible/ansible-runner may be more reliable long term method of running ansible from testinfra. I don't have enough knowledge around testinfra or ansible-runner to know for sure, but wanted to make sure this alternative was called out since ansible-runner seems built for this exact use case. |
I've already started a port to runner and it's only held up right now by an obscure bug: ansible/ansible-runner#200 |
@jctanner thanks for that; I took that gist and got it working for at least a loopback situation and will test more. I missing what was happening with the event capture, ascii codes and molecule, but I hope that with you as the author you can also update the pull request (or make new ones, whatever :) OpenStack should be able to test that pull request as it progresses in our CI too, as an extra level of testing over travis |
Great ! +1 for using ansible-runner |
🚀 🚀 🚀
|
Hi, I just released 3.0.0 with the new ansible runner which should be compatible with ansible 2.8 please sse the changelog here: https://testinfra.readthedocs.io/en/latest/changelog.html |
Caused by ansible/ansible@7e92ff8#diff-b54c875fc6bfd4d98dcc488f06a07bea
The text was updated successfully, but these errors were encountered: