⬆️ Update community.general to 6.0.1 #2850
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.1
->6.0.1
Release Notes
ansible-collections/community.general
v6.0.1
Compare Source
See https://github.com/ansible-collections/community.general/blob/stable-6/CHANGELOG.rst for all changes.
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.