community.general
community.general copied to clipboard
cmd_runner - handle special value "auto" in param force_lang
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
- Feature Pull Request
COMPONENT NAME
plugins/module_utils/cmd_runner.py
cc @emonty click here for bot help
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.
@russoz thanks for your contribution!