Closed briantist closed 3 years ago
https://github.com/ansible/ansible/pull/75605 has been merged, so this PR is no longer necessary.
As of now, CI still passes, but there are some TODOs for this collection that will be addressed in one or more other PRs:
delegate_to: localhost
-- they actually work as is, because they are used to talk to the running Vault server, and access works in docker and in a venv, from the target, but they really should be run on the controller alongside the Vault server.auth_*
and connection_options
targets don't have a clear context, so there are warnings about that; they will run on the target. That's the correct place to run them (they are module_utils) but let's provide context/target
in aliases
to make it official (context/controller
is also possible, in case we ever need it explicitly).aliases
so that they can be invoked differently, and we can avoid invalid combinations like python versions that aren't supported on the controller, and/or specify different controller and target python versionsansible-test
's invocation will do it). This will remain broken until ansible-test
has the functionality built in, at which point we'll use the action for pre-2.12 versions of Ansible, and we'll use the built-in for devel/2.12+.Following up that all the TODOs above have been completed (or were not needed) with #155 .
SUMMARY
DO NOT MERGE
This is running our tests using the split controller changes that are upcoming for
ansible-test
to ensure our stuff still works and that we didn't make any bad assumptions about running on the controller.ISSUE TYPE
COMPONENT NAME
tests/integration
ADDITIONAL INFORMATION
See https://github.com/ansible/ansible/pull/75605