ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
787 stars 1.45k forks source link

cmd_runner - handle special value "auto" in param force_lang #8517

Closed russoz closed 1 day ago

russoz commented 2 weeks ago
SUMMARY

Supplying the special value auto to the force_lang parameter now has the effect of determining the locale to be used in the command execution by calling ansible.module_utils.common.locale.get_best_parsable_locale().

ISSUE TYPE
COMPONENT NAME

plugins/module_utils/cmd_runner.py

ansibullbot commented 1 week ago

cc @emonty click here for bot help

patchback[bot] commented 1 day ago

Backport to stable-9: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-9/5259caacae58204b7140a373a11dcb5ac5f2365e/pr-8517

Backported as https://github.com/ansible-collections/community.general/pull/8581

🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.

felixfontein commented 1 day ago

@russoz thanks for your contribution!