mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-21 19:29:05 +00:00
Ensure standard locale in run_command (group5-batch1) (#11768)
* ensure standard locale in run_command (group5-batch1)
Adds ``LANGUAGE=C`` and ``LC_ALL=C`` to ``run_command()`` calls in modules
that parse command output, to prevent locale-dependent parsing failures on
non-C-locale systems.
Modules updated: apache2_module, composer, facter_facts, known_hosts module
utils, lvg_rename, macports, modprobe, monit, open_iscsi, pacman_key,
rhsm_release, rpm_ostree_pkg, sysupgrade.
* add changelog fragment for group5-batch1
* Remove lvg_rename from locale fix — superseded by PR #11746
PR #11746 (feat: use CmdRunner for LVM commands) takes priority and
will handle lvg_rename.py via CmdRunner refactor. Removing our
run_command_environ_update change to avoid conflict.
---------
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| cloud | ||
| hwc | ||
| identity/keycloak | ||
| net_tools/pritunl | ||
| xenserver | ||
| test_cmd_runner.py | ||
| test_csv.py | ||
| test_database.py | ||
| test_deps.py | ||
| test_known_hosts.py | ||
| test_module_helper.py | ||
| test_ocapi_utils.py | ||
| test_onepassword.py | ||
| test_opennebula.py | ||
| test_python_runner.py | ||
| test_saslprep.py | ||
| test_utm_utils.py | ||
| test_vardict.py | ||