community.general icon indicating copy to clipboard operation
community.general copied to clipboard

cmd_runner - handle special value "auto" in param force_lang

Open russoz opened this issue 1 year ago • 1 comments
trafficstars

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

russoz avatar Jun 16 '24 08:06 russoz

cc @emonty click here for bot help

ansibullbot avatar Jun 27 '24 21:06 ansibullbot

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.

patchback[bot] avatar Jul 05 '24 06:07 patchback[bot]

@russoz thanks for your contribution!

felixfontein avatar Jul 05 '24 06:07 felixfontein