1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-17 17:31:31 +00:00
community.general/tests/unit/plugins
Alexei Znamensky b40608a39d
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.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* add changelog fragment for group5-batch1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* 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.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 07:50:25 +12:00
..
become Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
cache Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
callback Add missing __future__ imports (#11567) 2026-03-11 06:42:08 +01:00
connection Add missing __future__ imports (#11567) 2026-03-11 06:42:08 +01:00
filter Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
inventory replace list(map(...)) with comprehension (#11590) 2026-03-14 08:43:23 +01:00
lookup merge_variables: extended merge capabilities added (#11536) 2026-03-19 22:45:44 +01:00
module_utils Ensure standard locale in run_command (group5-batch1) (#11768) 2026-04-13 07:50:25 +12:00
modules gem: use CmdRunner (#11733) 2026-04-12 13:12:26 +02:00
plugin_utils Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00