feat(ansible)!: Update community.general to 6.0.0 #2067
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.8.0
->6.0.0
Release Notes
ansible-collections/community.general
v6.0.0
Compare Source
=========
Release Summary
This is a pre-release for the upcoming 6.0.0 major release. The main objective of this pre-release is to make it possible to test the large stuctural changes by flattening the directory structure. See the corresponding entry in the changelog for details.
Major Changes
Minor Changes
LICENSES/MIT.txt
for tests/unit/plugins/modules/packaging/language/test_gem.py (Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txtΒ ansible-collections/community.general#5065).LICENSES/
directory of the collection root (Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txtΒ ansible-collections/community.general#5065, Add more license statementsΒ ansible-collections/community.general#5079, Add simple license headers, not completely at topΒ ansible-collections/community.general#5080, Fix copyright lines (make sure 'Copyright' is there)Β ansible-collections/community.general#5083, Add more default license and copyright noticesΒ ansible-collections/community.general#5087, Fix more copyright lines, add more default copyright linesΒ ansible-collections/community.general#5095, Add remaining copyright statements, add licenses sanity testΒ ansible-collections/community.general#5098, Update copyright statementsΒ ansible-collections/community.general#5106).verbosity
to base class (mh base: add verbosity() propertyΒ ansible-collections/community.general#5035).ModuleHelperException
, usingto_native()
for the exception message (ModuleHelperException module utils - improved exception initializationΒ ansible-collections/community.general#4755).REUSE specification <https://reuse.software/spec/>
__ except for the changelog fragments (Make reuse conformantΒ ansible-collections/community.general#5138).state=absent
to be able to remove an alternative (Add subcommands parameter for module alternatives.Β ansible-collections/community.general#4654).subcommands
parameter (Add subcommands parameter for module alternatives.Β ansible-collections/community.general#4654).ModuleHelper
updates (ansible_galaxy_install: minor improvements based on MH updatesΒ ansible-collections/community.general#4752).world
parameter for supporting a custom world file (Apk: add support for a custom world fileΒ ansible-collections/community.general#4976).search
to search for other attributes than name (bitwarden: Add field to search for all item attributes, instead of onβ¦Β ansible-collections/community.general#5297).check_mode_skip
andcheck_mode_return
toCmdRunner.context()
, so that the command is not executed whencheck_mode=True
(cmd_runner: added flag check_mode_skip to contextΒ ansible-collections/community.general#4736).__call__
method to invoke context (cmd_runner: add __call__ method to invoke contextΒ ansible-collections/community.general#4791).ttl
parameter for session (consul: add support for session TTLΒ ansible-collections/community.general#4996).token
parameter for session (Consul session tokenΒ ansible-collections/community.general#5193).do_raise()
to raise exceptions inModuleHelper
derived modules (Multiple modules using ModuleHelperΒ ansible-collections/community.general#4674).fail_on_error
to allow stopping execution on lookup failures (Introduce dig lookup argument fail_on_errorΒ ansible-collections/community.general#4973).http_agent
parameter with default valueAnsible
(Request to WAF/CDN with enhanced bot protection using url module gets HTTP Error 403: ForbiddenΒ ansible-collections/community.general#5023).include_non_listening
option which adds-a
option tonetstat
andss
. This shows both listening and non-listening (for TCP this means established connections) sockets, and returnsstate
andforeign_address
(listen_ports_facts extensionΒ ansible-collections/community.general#4762, Module listen ports facts extend outputΒ ansible-collections/community.general#4953).unredirected_headers
option that can be used with ansible-core 2.12 and above. The default value is to not useAuthorization
andCookie
headers on redirects for security reasons. With ansible-core 2.11, all headers are still passed on for redirects (Expose unredirected_headers on maven_artifactΒ ansible-collections/community.general#4812).do_raise()
to raise exceptions inModuleHelper
derived modules (Multiple modules using ModuleHelperΒ ansible-collections/community.general#4674).timeout
parameter (netcup_dnsapi: Add timeout paramterΒ ansible-collections/community.general#5301).transport_mode
configuration for Infiniband devices (nmcli: add transport_mode configuration for Infiniband devicesΒ ansible-collections/community.general#5361).xmit_hash_policy
to bond options (nmcli: No option for xmit_hash_policyΒ ansible-collections/community.general#5148).vpn
type and parameter for supporting VPN with service type L2TP and PPTP (add support to create L2TP and PPTP VPN connectionΒ ansible-collections/community.general#4746).disable_logs=false
(opentelemetry: send logsΒ ansible-collections/community.general#4175).reason
andreason_for
to set/change the install reason of packages (Pacman: Add support for install reasonΒ ansible-collections/community.general#4956).latest
to the module (pipx: add state latestΒ ansible-collections/community.general#5105).cmd_runner
(pipx: use CmdRunnerΒ ansible-collections/community.general#5085).name
is missing for statesupgrade
andreinstall
(pipx: add required_if fo upgrade and reinstallΒ ansible-collections/community.general#5100).do_raise()
to raise exceptions inModuleHelper
derived modules (Multiple modules using ModuleHelperΒ ansible-collections/community.general#4674).pipx
providing acmd_runner
specific for thepipx
module (pipx: use CmdRunnerΒ ansible-collections/community.general#5085).--backtrack
and--with-bdeps
options (portage: drop usage of gentoolkit, add knobs for --with-bdeps, --backtrackΒ ansible-collections/community.general#5349).qemu_extended_statuses
and new groups<group_prefix>prelaunch
,<group_prefix>paused
. They will be populated only whenwant_facts=true
,qemu_extended_statuses=true
and only forQEMU
machines (Proxmox Inventory: added new statuses for qemuΒ ansible-collections/community.general#4723).api_task_ok
helper to standardize API task status checks across all proxmox modules ([feat] proxmox_snap: snapshot containers with configured mountpointsΒ ansible-collections/community.general#5274).agent
argument to be a string (Change Proxmoxagent
argument to string.Β ansible-collections/community.general#5107).unbind
param to support snapshotting containers with configured mountpoints ([feat] proxmox_snap: snapshot containers with configured mountpointsΒ ansible-collections/community.general#5274).confdir
parameter to configure a custom confir location (Add puppet confdir optionΒ ansible-collections/community.general#4740).SetSessionService
to set default session timeout policy (add SetSessionService to redfish_configΒ ansible-collections/community.general#5008).GetManagerInventory
to report list of Manager inventory information (Add support to query BMC FirmwareVersion via redfish_infoΒ ansible-collections/community.general#4899).local
(seport: addlocal
argumentΒ ansible-collections/community.general#5203)do_raise()
to raise exceptions inModuleHelper
derived modules (Multiple modules using ModuleHelperΒ ansible-collections/community.general#4674).variables
parameter in the module. This must be enabled with the newcomplex_vars
parameter (Allow terraform module to specify complex variable structuresΒ ansible-collections/community.general#4797).terraform init
with-no-color
not to mess up the stdout of the task (terraform: runinit
with no-color, tooΒ ansible-collections/community.general#5147).IndicatorLedOn
andIndicatorLedOff
commands forChassis
category (WDC Redfish support for chassis indicator LED toggling.Β ansible-collections/community.general#5059).PowerModeLow
andPowerModeNormal
commands forChassis
category (WDC Redfish support for setting the power mode.Β ansible-collections/community.general#5145).stdout
,stderr
andcmd
to the module results (xfconf: add command output to resultsΒ ansible-collections/community.general#5037).cmd_runner
(xfconf module utils: providing a cmd_runner objectΒ ansible-collections/community.general#4776).do_raise()
instead of defining custom exception class (xfconf and xfconf_info: use do_raiseΒ ansible-collections/community.general#4975).do_raise()
to raise exceptions inModuleHelper
derived modules (Multiple modules using ModuleHelperΒ ansible-collections/community.general#4674).xfconf
providing acmd_runner
specific forxfconf
modules (xfconf module utils: providing a cmd_runner objectΒ ansible-collections/community.general#4776).cmd_runner
(xfconf module utils: providing a cmd_runner objectΒ ansible-collections/community.general#4776).do_raise()
instead of defining custom exception class (xfconf and xfconf_info: use do_raiseΒ ansible-collections/community.general#4975).Breaking Changes / Porting Guide
revision
is required for v2 API (Updated to use the new newrelic v2 apiΒ ansible-collections/community.general#5341).Deprecated Features
CmdMixin
, in favor of thecmd_runner_fmt
module util (MH CmdModuleHelper: deprecationΒ ansible-collections/community.general#5370).CmdRunner
module util (MH CmdModuleHelper: deprecationΒ ansible-collections/community.general#5370).CmdRunner
module util (MH CmdModuleHelper: deprecationΒ ansible-collections/community.general#5370).CmdRunner
module util (MH CmdModuleHelper: deprecationΒ ansible-collections/community.general#5370).fmt
in favour ofcmd_runner_fmt
as the parameter format object (cmd_runner: deprecate fmt as the name for the format classΒ ansible-collections/community.general#4777).cleanup
,syncdb
andvalidate
that have been deprecated in Django long time ago will be removed in community.general 9.0.0 (django_manage: deprecate old commandsΒ ansible-collections/community.general#5400).state=get
in favor of using the modulegconftool2_info
(gconftool2: deprecate state getΒ ansible-collections/community.general#4778).appname
andenvironment
are no longer valid options in the v2 API. They will be removed in community.general 7.0.0 (Updated to use the new newrelic v2 apiΒ ansible-collections/community.general#5341).unprivileged
default value, will be changed totrue
in community.general 7.0.0 (https://github.com/pull/5224).disable_facts
, as since version 4.0.0 it only allows valuetrue
([6.0.0] xfconf - deprecate parameter disable_factsΒ ansible-collections/community.general#4520).Removed Features (previously deprecated)
username
is no longer an alias ofworkspace
, but ofuser
(Remove deprecated features, bump version to 6.0.0Β ansible-collections/community.general#5326).norc
option changed fromfalse
totrue
(Remove deprecated features, bump version to 6.0.0Β ansible-collections/community.general#5326).gitlab_group
must now always contain the full path, and no longer just the name or path (Remove deprecated features, bump version to 6.0.0Β ansible-collections/community.general#5326).flow
has been removed. Useend_state
instead (Remove deprecated features, bump version to 6.0.0Β ansible-collections/community.general#5326).group
has been removed. Useend_state
instead (Remove deprecated features, bump version to 6.0.0Β ansible-collections/community.general#5326).ignore_volatile_options
option changed fromtrue
tofalse
(Remove deprecated features, bump version to 6.0.0Β ansible-collections/community.general#5326).sender
option is now required (Remove deprecated features, bump version to 6.0.0Β ansible-collections/community.general#5326).VarDict
attribute fromModuleHelper
. ImportVarDict
fromansible_collections.community.general.plugins.module_utils.mh.mixins.vars
instead (Remove deprecated features, bump version to 6.0.0Β ansible-collections/community.general#5326).want_proxmox_nodes_ansible_host
option changed fromtrue
tofalse
(Remove deprecated features, bump version to 6.0.0Β ansible-collections/community.general#5326).debug
option has been removed. It was not used anyway (Remove deprecated features, bump version to 6.0.0Β ansible-collections/community.general#5326).Bugfixes
PSF-license.txt
file forplugins/module_utils/_mount.py
.simplified_bsd.txt
license file for various module utils, thelxca_common
docs fragment, and theutm_utils
unit tests.alternatives
on RHEL 8Β ansible-collections/community.general#4803, Alternatives subcommand is missing link if not passed explicitlyΒ ansible-collections/community.general#4804, Fix alternatives moduleΒ ansible-collections/community.general#4836).subcommands
is specified,link
must be given for every subcommand. This was already mentioned in the documentation, but not enforced by the code (Fix alternatives moduleΒ ansible-collections/community.general#4836).lzma
is not present andformat
is notxz
(archive: do not crash when lzma is not aroundΒ ansible-collections/community.general#5393).command
variable instead ofself.command
when looking for binary path (Fix command variable usage in CmdRunnerΒ ansible-collections/community.general#4903).NXDOMAIN
(add option to force dig lookup to return empty listΒ ansible-collections/community.general#5439, dig + wantlist can return a list with an empty string instead of an empty listΒ ansible-collections/community.general#5428).fail_on_error
andretry_servfail
(dig: Fix evaluation of boolean parametersΒ ansible-collections/community.general#5129).requests
and notanother_library
(Fix linting errors; fix some real bugsΒ ansible-collections/community.general#5111).NXDOMAIN
(dnstxt lookup - add option to return empty listΒ ansible-collections/community.general#5457, dig + wantlist can return a list with an empty string instead of an empty listΒ ansible-collections/community.general#5428).tld
parameter (Do not ignore tld option in DSV lookup pluginΒ ansible-collections/community.general#4911).fatresize --info
output lines without:
(Add RHEL 9.0, FreeBSD 13.1, Ubuntu 22.04 and Fedora 36 to CI, fix bug in filesystem moduleΒ ansible-collections/community.general#4700).exec_command
(Fix linting errors; fix some real bugsΒ ansible-collections/community.general#5111).{x}
prefix on attribute values (ldap_attrs: 'Type or value exists' is fatal when it should be OKΒ ansible-collections/community.general#977, ldap_attrs: search_s based _is_value_presentΒ ansible-collections/community.general#5385).EnvironmentError
. Theelse
clause had a wrong indentation. The check is now handled in thesplit_pid_name
function (Bugfix - EnvironmentError with wrong indentationΒ ansible-collections/community.general#5202).inventory_hostname
inremote_addr
. This is needed for compatibility with ansible-core 2.13 (community.general.lxd connection not working with moleculeΒ ansible-collections/community.general#4886).gsm.apn
orvpn.data
: current values were being normalized without checking if they might beNone
(nmcli: fix error when setting previously unset mac addressΒ ansible-collections/community.general#5291).NS
entries from Bind9 managed DNS zones (Cannot update "NS" types entries from Bind9 managed DNS zoneΒ ansible-collections/community.general#4657)._time_ns
([opentelemetry][callback] support opentelemetry-api 1.13Β ansible-collections/community.general#5342).~
invalue
to the user's home directory, or expand environment variables (~
gets evaluated when usingcommunity.general.osx_defaults
Β ansible-collections/community.general#5234, osx_defaults: add expand_user_and_vars flag to writeΒ ansible-collections/community.general#5243).returnall
for gopass (Fix returnall for gopassΒ ansible-collections/community.general#5027).pkg
fails when trying to upgrade all packages (pkgng reports insufficient privilege as ok/unchanged, inconsistent with builtin.apt, builtin.yumΒ ansible-collections/community.general#5363).state=absent
(proxmox module_utils: fix get_vm int parse handlingΒ ansible-collections/community.general#4945).enabled=1
is used in agent config string (proxmox inventory: fix for agent enabledΒ ansible-collections/community.general#4910).agent
parameter when boolean value is specified (Send string instead of boolean to proxmox apiΒ ansible-collections/community.general#5198).state=absent
(proxmox module_utils: fix get_vm int parse handlingΒ ansible-collections/community.general#4945).agent
argument is specified (Fix exception whenagent
argument is not specified.Β ansible-collections/community.general#5194).node
,name
condition.Β ansible-collections/community.general#5108).vmid
on update (add a couple conditionals to make sure updating can be done with vmidβ¦Β ansible-collections/community.general#5206).rax_clb_nodes
that breaks in Python3Β ansible-collections/community.general#4933).instered= false
caused by Supermicro hardware that does not clear theImageName
(redfish_command: VirtualMediaInsert does not work with SupermicroΒ ansible-collections/community.general#4839).image_url
parameter in the underlying API calls toVirtualMediaInsert
andVirtualMediaEject
. Any values set (or the defaults) forwrite_protected
orinserted
will be ignored (redfish_command: VirtualMediaInsert does not work with SupermicroΒ ansible-collections/community.general#4839).GetChassisPower
to correctly report power information when multiple chassis exist, but not all chassis report power information (GetChassisPower fails to report power information when multiple chassis are presentΒ ansible-collections/community.general#4901).pool_ids
are used (redhat_subscription module is not idempotent when pool_ids are usedΒ ansible-collections/community.general#5313).module.fail_json
when failing because of missing Python libraries (fix invalid fail_json callΒ ansible-collections/community.general#4733).#
caused by incomplete pattern detection by addingG0
andGF
as channel ID patterns (Slack: Add support for (some) groupsΒ ansible-collections/community.general#5019).CP
. Whenmessage-id
was passed it failed for channels which started withCP
because the#
symbol was added before thechannel_id
(slack: add CP channel prefixΒ ansible-collections/community.general#5249).state: absent
(sudoers module does not handle state: absent properlyΒ ansible-collections/community.general#4852).AnsibleModule
call that prevented the module from working at all (fix xenserver_facts moduleΒ ansible-collections/community.general#5383).bool
value in Xfce4 configurationΒ ansible-collections/community.general#4999, xfconf: fix setting of boolean valuesΒ ansible-collections/community.general#5007).New Modules
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.