Introduction

community.general is the large Ansible collection that bundles together modules, plugins, and callback plugins that do not have their own dedicated collection yet - things like archive, zypper_repository, lvm_pv, pamd, sysrc, and the ipa_* family of FreeIPA modules. It ships as part of the ansible community package and is one of the most commonly installed collections in any control node.

community.general 14.0.1 has just been published to Galaxy. This is a pure bugfix release that exists specifically for inclusion in Ansible 15.0.0rc1: it does not add any new modules or plugins, it only fixes a set of bugs reported against the 14.x branch. Anyone running community.general 14.0.0 should upgrade to pick up the fixes below, in particular the lvm_pv fixes around sysfs/disk rescanning and the ipa module utils fix that affected several ipa_* modules.

Whats New

Release Summary

Bugfix release for inclusion in Ansible 15.0.0rc1. No new features, no breaking changes.

Minor Changes

  • sysrc - removed a code path that only applied to FreeBSD 11 and earlier (PR #13185).

Bugfixes

  • archive - the module no longer adds the destination archive to itself when the destination is located under one of the paths being archived (issue #1420, PR #13208).
  • btrfs module utils - fixed the computed path of nested subvolumes when a parent subvolume lives inside a directory (issue #7454, PR #13071).
  • ipa module utils - tasks no longer fail when the failed field of the FreeIPA API response only contains empty member lists. This fixes false failures on success reported in ipa_group, ipa_hbacrule, ipa_sudorule, and other modules that add members (issue #12294, PR #13188).
  • lvm_pv - the parent disk of a partition is now determined from sysfs instead of from the device name, which fixes rescanning partitions on devices such as mmcblk0p1 (issue #13212, PR #13218).
  • lvm_pv - the module no longer warns on every run with resize=true when the underlying disk has no rescan attribute, for example on virtio-blk disks (same issue/PR as above).
  • lvm_pv - symbolic links such as /dev/disk/by-id/... are now resolved before looking up the device in sysfs, so the correct disk gets rescanned before resizing (same issue/PR as above).
  • pamd - comments and empty lines next to rules inserted with state=before or state=after are now preserved instead of being dropped (issue #9374, PR #13114).
  • splunk callback plugin - ansible_check_mode is now reported per task instead of staying true for the rest of the run once a single task ran in check mode (issue #13194, PR #13195).
  • zypper_repository - the description option is now kept when adding a .repo file, instead of being overwritten with the name taken from the file (issue #4532, PR #13168).
  • zypper_updates_info - updates from other repositories are now listed and a warning is raised instead of failing outright when zypper skips a repository that cannot be refreshed (PR #13191).

Affected Components

ComponentTypeChange
sysrcmoduleFreeBSD 11 code path removed
archivemoduleself-inclusion bug fixed
btrfsmodule utilsnested subvolume path fix
ipamodule utilsempty failed member list no longer fails task
lvm_pvmodulesysfs-based disk lookup, symlink resolution, rescan warning fix
pamdmodulepreserves comments/empty lines around inserted rules
splunkcallback pluginper-task ansible_check_mode reporting
zypper_repositorymodulekeeps description on .repo import
zypper_updates_infomoduletolerates unrefreshable repositories

How to Install and Verify

# Install (or upgrade) community.general 14.0.1 from Ansible Galaxy
ansible-galaxy collection install community.general:==14.0.1

# Force reinstall if an older 14.x version is already present
ansible-galaxy collection install community.general:==14.0.1 --force

# Verify the installed version
ansible-galaxy collection list community.general

# Inspect the full changelog shipped with the collection
ansible-doc -t collection -l community.general

Conclusion

community.general 14.0.1 is a targeted bugfix release feeding into Ansible 15.0.0rc1. Users relying on lvm_pv for partition/disk resizing, on any ipa_* module for FreeIPA automation, or on the archive, pamd, zypper_repository, or splunk callback functionality should upgrade to avoid the specific bugs listed above.