ansible / ansible-runner

A tool and python library that helps when interfacing with Ansible directly or as part of another system whether that be through a container image interface, as a standalone tool, or as a Python module that can be imported. The goal is to provide a stable and consistent interface abstraction to Ansible.
Other
957 stars 352 forks source link

Account for streaming payload splatting version incompatibilities #1324

Open sivel opened 11 months ago

sivel commented 11 months ago

Right now payloads are splatted directly into the streaming classes, and ultimately into ansible_runner.interface.run. Knowing that we need to, support a potential version mismatch of runner inside and outside of an EE, this blind splatting can lead to TypeError if we send too many args.

This likely needs to be accounted for in a more robust way.