[PR #11655/6d3ab1a8 backport][stable-12] passwordstore lookup: update code meant for Python2 (#11669)

passwordstore lookup: update code meant for Python2 (#11655)

* passwordstore lookup: update code meant for Python2

* add changelog frag

* add check param to subprocess.run() to reinstate sanity

(cherry picked from commit 6d3ab1a80c)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2026-03-23 20:35:20 +01:00
committed by GitHub
parent 555d7b9038
commit 02b25fb096
2 changed files with 18 additions and 32 deletions

View File

@@ -0,0 +1,3 @@
minor_changes:
- lookup plugin passwordstore - modernize internal ``check_output2()`` helper using ``subprocess.run()`` and rename it to ``run_backend_cmd()``
(https://github.com/ansible-collections/community.general/pull/11655).