You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is already a serialized passwords file, then passing passwords into the interface.run fails.
To reproduce, run this twice. On first run it works fine (And serializes the /runner/env/passwords file)
On second run it fails, since that file exists.
Traceback (most recent call last):
File "runner.py", line 11, in <module>
stdout = ansible_runner.interface.run(**kwargs)
File "/opt/ansible/3.6.5/lib64/python3.6/site-packages/ansible_runner/interface.py", line 210, in run
r = init_runner(**kwargs)
File "/opt/ansible/3.6.5/lib64/python3.6/site-packages/ansible_runner/interface.py", line 74, in init_runner
rc = RunnerConfig(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'passwords'
At this point if I rm -rf /runner/env/passwords then run again, it will work.
I'm not sure the expected outcome, but I would have thought passwords would have merged into or overridden the serialized passwords file.
The text was updated successfully, but these errors were encountered:
If there is already a serialized passwords file, then passing passwords into the interface.run fails.
To reproduce, run this twice. On first run it works fine (And serializes the /runner/env/passwords file)
On second run it fails, since that file exists.
Error:
At this point if I
rm -rf /runner/env/passwords
then run again, it will work.I'm not sure the expected outcome, but I would have thought passwords would have merged into or overridden the serialized passwords file.
The text was updated successfully, but these errors were encountered: