-
Notifications
You must be signed in to change notification settings - Fork 1.7k
onepassword_info: replace subprocess.Popen() with run_command() #11193
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
onepassword_info: replace subprocess.Popen() with run_command() #11193
Conversation
Co-authored-by: Felix Fontein <[email protected]>
|
@felixfontein please note that this was not picked up by sanity checks before. Apparently, the validation looks for a literal |
Backport to stable-12: 💚 backport PR created✅ Backport PR branch: Backported as #11208 🤖 @patchback |
* onepassword_info: replace subprocess.Popen() with run_command() * add changelog frag * Update plugins/modules/onepassword_info.py Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit f2731e1)
|
@russoz you might want to create an issue in ansible/ansible for that. |
…bprocess.Popen() with run_command() (#11208) onepassword_info: replace subprocess.Popen() with run_command() (#11193) * onepassword_info: replace subprocess.Popen() with run_command() * add changelog frag * Update plugins/modules/onepassword_info.py --------- (cherry picked from commit f2731e1) Co-authored-by: Alexei Znamensky <[email protected]> Co-authored-by: Felix Fontein <[email protected]>
SUMMARY
The module was using
subprocess.Popen()to run an external command, whilst the recommended way is to useAnsibleModule.run_command().ISSUE TYPE
COMPONENT NAME
onepassword_info