diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0a0551feba..9084ca8b6c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,62 @@ Community General Release Notes This changelog describes changes after version 3.0.0. +v4.4.0 +====== + +Release Summary +--------------- + +Regular features and bugfixes release. + +Minor Changes +------------- + +- cobbler inventory plugin - add ``include_profiles`` option (https://github.com/ansible-collections/community.general/pull/4068). +- gitlab_project_variable - new ``variables`` parameter (https://github.com/ansible-collections/community.general/issues/4038). +- icinga2 inventory plugin - implemented constructed interface (https://github.com/ansible-collections/community.general/pull/4088). +- linode inventory plugin - allow templating of ``access_token`` variable in Linode inventory plugin (https://github.com/ansible-collections/community.general/pull/4040). +- lists_mergeby filter plugin - add parameters ``list_merge`` and ``recursive``. These are only supported when used with ansible-base 2.10 or ansible-core, but not with Ansible 2.9 (https://github.com/ansible-collections/community.general/pull/4058). +- lxc_container - added ``wait_for_container`` parameter. If ``true`` the module will wait until the running task reports success as the status (https://github.com/ansible-collections/community.general/pull/4039). +- mail callback plugin - add ``Message-ID`` and ``Date`` headers (https://github.com/ansible-collections/community.general/issues/4055, https://github.com/ansible-collections/community.general/pull/4056). +- mail callback plugin - properly use Ansible's option handling to split lists (https://github.com/ansible-collections/community.general/pull/4140). +- nmcli - adds ``routes6`` and ``route_metric6`` parameters for supporting IPv6 routes (https://github.com/ansible-collections/community.general/issues/4059). +- opennebula - add the release action for VMs in the ``HOLD`` state (https://github.com/ansible-collections/community.general/pull/4036). +- opentelemetry_plugin - enrich service when using the ``docker_login`` (https://github.com/ansible-collections/community.general/pull/4104). +- proxmox modules - move ``HAS_PROXMOXER`` check into ``module_utils`` (https://github.com/ansible-collections/community.general/pull/4030). +- scaleway inventory plugin - add profile parameter ``scw_profile`` (https://github.com/ansible-collections/community.general/pull/4049). +- snap - add option ``options`` permitting to set options using the ``snap set`` command (https://github.com/ansible-collections/community.general/pull/3943). + +Deprecated Features +------------------- + +- mail callback plugin - not specifying ``sender`` is deprecated and will be disallowed in community.general 6.0.0 (https://github.com/ansible-collections/community.general/pull/4140). + +Bugfixes +-------- + +- cargo - fix detection of outdated packages when ``state=latest`` (https://github.com/ansible-collections/community.general/pull/4052). +- cargo - fix incorrectly reported changed status for packages with a name containing a hyphen (https://github.com/ansible-collections/community.general/issues/4044, https://github.com/ansible-collections/community.general/pull/4052). +- gitlab_project_variable - add missing documentation about GitLab versions that support ``environment_scope`` and ``variable_type`` (https://github.com/ansible-collections/community.general/issues/4038). +- gitlab_project_variable - allow to set same variable name under different environment scopes. Due this change, the return value ``project_variable`` differs from previous version in check mode. It was counting ``updated`` values, because it was accidentally overwriting environment scopes (https://github.com/ansible-collections/community.general/issues/4038). +- gitlab_project_variable - fix idempotent change behaviour for float and integer variables (https://github.com/ansible-collections/community.general/issues/4038). +- gitlab_runner - use correct API endpoint to create and retrieve project level runners when using ``project`` (https://github.com/ansible-collections/community.general/pull/3965). +- listen_ports_facts - local port regex was not handling well IPv6 only binding. Fixes the regex for ``ss`` (https://github.com/ansible-collections/community.general/pull/4092). +- mail callback plugin - fix crash on Python 3 (https://github.com/ansible-collections/community.general/issues/4025, https://github.com/ansible-collections/community.general/pull/4026). +- opentelemetry - fix generating a trace with a task containing ``no_log: true`` (https://github.com/ansible-collections/community.general/pull/4043). +- python_requirements_info - store ``mismatched`` return values per package as documented in the module (https://github.com/ansible-collections/community.general/pull/4078). +- yarn - fix incorrect handling of ``yarn list`` and ``yarn global list`` output that could result in fatal error (https://github.com/ansible-collections/community.general/pull/4050). +- yarn - fix incorrectly reported status when installing a package globally (https://github.com/ansible-collections/community.general/issues/4045, https://github.com/ansible-collections/community.general/pull/4050). +- yarn - fix missing ``~`` expansion in yarn global install folder which resulted in incorrect task status (https://github.com/ansible-collections/community.general/issues/4045, https://github.com/ansible-collections/community.general/pull/4048). + +New Modules +----------- + +System +~~~~~~ + +- homectl - Manage user accounts with systemd-homed + v4.3.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 5ee88c1564..02b70294f2 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1309,3 +1309,93 @@ releases: name: counter namespace: null release_date: '2022-01-11' + 4.4.0: + changes: + bugfixes: + - cargo - fix detection of outdated packages when ``state=latest`` (https://github.com/ansible-collections/community.general/pull/4052). + - cargo - fix incorrectly reported changed status for packages with a name containing + a hyphen (https://github.com/ansible-collections/community.general/issues/4044, + https://github.com/ansible-collections/community.general/pull/4052). + - gitlab_project_variable - add missing documentation about GitLab versions + that support ``environment_scope`` and ``variable_type`` (https://github.com/ansible-collections/community.general/issues/4038). + - 'gitlab_project_variable - allow to set same variable name under different + environment scopes. Due this change, the return value ``project_variable`` + differs from previous version in check mode. It was counting ``updated`` values, + because it was accidentally overwriting environment scopes (https://github.com/ansible-collections/community.general/issues/4038). + + ' + - gitlab_project_variable - fix idempotent change behaviour for float and integer + variables (https://github.com/ansible-collections/community.general/issues/4038). + - gitlab_runner - use correct API endpoint to create and retrieve project level + runners when using ``project`` (https://github.com/ansible-collections/community.general/pull/3965). + - listen_ports_facts - local port regex was not handling well IPv6 only binding. + Fixes the regex for ``ss`` (https://github.com/ansible-collections/community.general/pull/4092). + - mail callback plugin - fix crash on Python 3 (https://github.com/ansible-collections/community.general/issues/4025, + https://github.com/ansible-collections/community.general/pull/4026). + - 'opentelemetry - fix generating a trace with a task containing ``no_log: true`` + (https://github.com/ansible-collections/community.general/pull/4043).' + - python_requirements_info - store ``mismatched`` return values per package + as documented in the module (https://github.com/ansible-collections/community.general/pull/4078). + - yarn - fix incorrect handling of ``yarn list`` and ``yarn global list`` output + that could result in fatal error (https://github.com/ansible-collections/community.general/pull/4050). + - yarn - fix incorrectly reported status when installing a package globally + (https://github.com/ansible-collections/community.general/issues/4045, https://github.com/ansible-collections/community.general/pull/4050). + - yarn - fix missing ``~`` expansion in yarn global install folder which resulted + in incorrect task status (https://github.com/ansible-collections/community.general/issues/4045, + https://github.com/ansible-collections/community.general/pull/4048). + deprecated_features: + - mail callback plugin - not specifying ``sender`` is deprecated and will be + disallowed in community.general 6.0.0 (https://github.com/ansible-collections/community.general/pull/4140). + minor_changes: + - cobbler inventory plugin - add ``include_profiles`` option (https://github.com/ansible-collections/community.general/pull/4068). + - gitlab_project_variable - new ``variables`` parameter (https://github.com/ansible-collections/community.general/issues/4038). + - icinga2 inventory plugin - implemented constructed interface (https://github.com/ansible-collections/community.general/pull/4088). + - linode inventory plugin - allow templating of ``access_token`` variable in + Linode inventory plugin (https://github.com/ansible-collections/community.general/pull/4040). + - lists_mergeby filter plugin - add parameters ``list_merge`` and ``recursive``. + These are only supported when used with ansible-base 2.10 or ansible-core, + but not with Ansible 2.9 (https://github.com/ansible-collections/community.general/pull/4058). + - lxc_container - added ``wait_for_container`` parameter. If ``true`` the module + will wait until the running task reports success as the status (https://github.com/ansible-collections/community.general/pull/4039). + - mail callback plugin - add ``Message-ID`` and ``Date`` headers (https://github.com/ansible-collections/community.general/issues/4055, + https://github.com/ansible-collections/community.general/pull/4056). + - mail callback plugin - properly use Ansible's option handling to split lists + (https://github.com/ansible-collections/community.general/pull/4140). + - nmcli - adds ``routes6`` and ``route_metric6`` parameters for supporting IPv6 + routes (https://github.com/ansible-collections/community.general/issues/4059). + - opennebula - add the release action for VMs in the ``HOLD`` state (https://github.com/ansible-collections/community.general/pull/4036). + - opentelemetry_plugin - enrich service when using the ``docker_login`` (https://github.com/ansible-collections/community.general/pull/4104). + - proxmox modules - move ``HAS_PROXMOXER`` check into ``module_utils`` (https://github.com/ansible-collections/community.general/pull/4030). + - scaleway inventory plugin - add profile parameter ``scw_profile`` (https://github.com/ansible-collections/community.general/pull/4049). + - snap - add option ``options`` permitting to set options using the ``snap set`` + command (https://github.com/ansible-collections/community.general/pull/3943). + release_summary: Regular features and bugfixes release. + fragments: + - 3935-use-gitlab-instance-runner-to-create-runner.yml + - 3943-add-option-options-to-snap-module.yml + - 4.4.0.yml + - 4026-fix-mail-callback.yml + - 4030-proxmox-has-proxmoxer.yml + - 4036-onevm-add-release-action.yaml + - 4038-fix-and-rework-gitlb-project-variable.yml + - 4039-cluster-container-wait.yml + - 4040-linode-token-templating.yaml + - 4043-fix-no-log-opentelemetry.yml + - 4048-expand-tilde-in-yarn-global-install-folder.yaml + - 4049-profile-for-scaleway-inventory.yml + - 4050-properly-parse-json-lines-output-from-yarn.yaml + - 4052-fix-detection-of-installed-cargo-packages-with-hyphens.yaml + - 4056-add-missing-mail-headers.yml + - 4058-lists_mergeby-add-parameters.yml + - 4062-nmcli-ipv6-routes-support.yml + - 4068-add-include_file-option.yml + - 4078-python_requirements_info.yaml + - 4088-add-constructed-interface-for-icinga2-inventory.yml + - 4092-fix_local_ports_regex_listen_ports_facts.yaml + - 4104-opentelemetry_plugin-enrich_docker_login.yaml + - 4140-mail-callback-options.yml + modules: + - description: Manage user accounts with systemd-homed + name: homectl + namespace: system + release_date: '2022-02-01' diff --git a/changelogs/fragments/3935-use-gitlab-instance-runner-to-create-runner.yml b/changelogs/fragments/3935-use-gitlab-instance-runner-to-create-runner.yml deleted file mode 100644 index cbd61a88b1..0000000000 --- a/changelogs/fragments/3935-use-gitlab-instance-runner-to-create-runner.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - 'gitlab_runner - use correct API endpoint to create and retrieve project level runners when using ``project`` (https://github.com/ansible-collections/community.general/pull/3965).' diff --git a/changelogs/fragments/3943-add-option-options-to-snap-module.yml b/changelogs/fragments/3943-add-option-options-to-snap-module.yml deleted file mode 100644 index 021d0ec6d7..0000000000 --- a/changelogs/fragments/3943-add-option-options-to-snap-module.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - snap - add option ``options`` permitting to set options using the ``snap set`` command (https://github.com/ansible-collections/community.general/pull/3943). diff --git a/changelogs/fragments/4.4.0.yml b/changelogs/fragments/4.4.0.yml deleted file mode 100644 index 0b875730fa..0000000000 --- a/changelogs/fragments/4.4.0.yml +++ /dev/null @@ -1 +0,0 @@ -release_summary: Regular features and bugfixes release. \ No newline at end of file diff --git a/changelogs/fragments/4026-fix-mail-callback.yml b/changelogs/fragments/4026-fix-mail-callback.yml deleted file mode 100644 index bd5327805b..0000000000 --- a/changelogs/fragments/4026-fix-mail-callback.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - mail callback plugin - fix crash on Python 3 (https://github.com/ansible-collections/community.general/issues/4025, https://github.com/ansible-collections/community.general/pull/4026). diff --git a/changelogs/fragments/4030-proxmox-has-proxmoxer.yml b/changelogs/fragments/4030-proxmox-has-proxmoxer.yml deleted file mode 100644 index 7e7dae94ae..0000000000 --- a/changelogs/fragments/4030-proxmox-has-proxmoxer.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - proxmox modules - move ``HAS_PROXMOXER`` check into ``module_utils`` (https://github.com/ansible-collections/community.general/pull/4030). diff --git a/changelogs/fragments/4036-onevm-add-release-action.yaml b/changelogs/fragments/4036-onevm-add-release-action.yaml deleted file mode 100644 index bc61278b4a..0000000000 --- a/changelogs/fragments/4036-onevm-add-release-action.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - opennebula - add the release action for VMs in the ``HOLD`` state (https://github.com/ansible-collections/community.general/pull/4036). diff --git a/changelogs/fragments/4038-fix-and-rework-gitlb-project-variable.yml b/changelogs/fragments/4038-fix-and-rework-gitlb-project-variable.yml deleted file mode 100644 index 45c0ccdd43..0000000000 --- a/changelogs/fragments/4038-fix-and-rework-gitlb-project-variable.yml +++ /dev/null @@ -1,9 +0,0 @@ -bugfixes: - - > - gitlab_project_variable - allow to set same variable name under different environment scopes. - Due this change, the return value ``project_variable`` differs from previous version in check mode. - It was counting ``updated`` values, because it was accidentally overwriting environment scopes (https://github.com/ansible-collections/community.general/issues/4038). - - gitlab_project_variable - fix idempotent change behaviour for float and integer variables (https://github.com/ansible-collections/community.general/issues/4038). - - gitlab_project_variable - add missing documentation about GitLab versions that support ``environment_scope`` and ``variable_type`` (https://github.com/ansible-collections/community.general/issues/4038). -minor_changes: - - gitlab_project_variable - new ``variables`` parameter (https://github.com/ansible-collections/community.general/issues/4038). diff --git a/changelogs/fragments/4039-cluster-container-wait.yml b/changelogs/fragments/4039-cluster-container-wait.yml deleted file mode 100644 index bd2b4d5b49..0000000000 --- a/changelogs/fragments/4039-cluster-container-wait.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - "lxc_container - added ``wait_for_container`` parameter. If ``true`` the module will wait until the running task reports success as the status (https://github.com/ansible-collections/community.general/pull/4039)." diff --git a/changelogs/fragments/4040-linode-token-templating.yaml b/changelogs/fragments/4040-linode-token-templating.yaml deleted file mode 100644 index 691d7634a0..0000000000 --- a/changelogs/fragments/4040-linode-token-templating.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - linode inventory plugin - allow templating of ``access_token`` variable in Linode inventory plugin (https://github.com/ansible-collections/community.general/pull/4040). diff --git a/changelogs/fragments/4043-fix-no-log-opentelemetry.yml b/changelogs/fragments/4043-fix-no-log-opentelemetry.yml deleted file mode 100644 index 612cf4abfb..0000000000 --- a/changelogs/fragments/4043-fix-no-log-opentelemetry.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - "opentelemetry - fix generating a trace with a task containing ``no_log: true`` (https://github.com/ansible-collections/community.general/pull/4043)." diff --git a/changelogs/fragments/4048-expand-tilde-in-yarn-global-install-folder.yaml b/changelogs/fragments/4048-expand-tilde-in-yarn-global-install-folder.yaml deleted file mode 100644 index 43e062e7c3..0000000000 --- a/changelogs/fragments/4048-expand-tilde-in-yarn-global-install-folder.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - yarn - fix missing ``~`` expansion in yarn global install folder which resulted in incorrect task status (https://github.com/ansible-collections/community.general/issues/4045, https://github.com/ansible-collections/community.general/pull/4048). diff --git a/changelogs/fragments/4049-profile-for-scaleway-inventory.yml b/changelogs/fragments/4049-profile-for-scaleway-inventory.yml deleted file mode 100644 index c5160eb4d4..0000000000 --- a/changelogs/fragments/4049-profile-for-scaleway-inventory.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - scaleway inventory plugin - add profile parameter ``scw_profile`` (https://github.com/ansible-collections/community.general/pull/4049). \ No newline at end of file diff --git a/changelogs/fragments/4050-properly-parse-json-lines-output-from-yarn.yaml b/changelogs/fragments/4050-properly-parse-json-lines-output-from-yarn.yaml deleted file mode 100644 index 67094f4701..0000000000 --- a/changelogs/fragments/4050-properly-parse-json-lines-output-from-yarn.yaml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - yarn - fix incorrect handling of ``yarn list`` and ``yarn global list`` output that could result in fatal error (https://github.com/ansible-collections/community.general/pull/4050). - - yarn - fix incorrectly reported status when installing a package globally (https://github.com/ansible-collections/community.general/issues/4045, https://github.com/ansible-collections/community.general/pull/4050). diff --git a/changelogs/fragments/4052-fix-detection-of-installed-cargo-packages-with-hyphens.yaml b/changelogs/fragments/4052-fix-detection-of-installed-cargo-packages-with-hyphens.yaml deleted file mode 100644 index e17195ac6d..0000000000 --- a/changelogs/fragments/4052-fix-detection-of-installed-cargo-packages-with-hyphens.yaml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - cargo - fix incorrectly reported changed status for packages with a name containing a hyphen (https://github.com/ansible-collections/community.general/issues/4044, https://github.com/ansible-collections/community.general/pull/4052). - - cargo - fix detection of outdated packages when ``state=latest`` (https://github.com/ansible-collections/community.general/pull/4052). diff --git a/changelogs/fragments/4056-add-missing-mail-headers.yml b/changelogs/fragments/4056-add-missing-mail-headers.yml deleted file mode 100644 index fefa655f72..0000000000 --- a/changelogs/fragments/4056-add-missing-mail-headers.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - mail callback plugin - add ``Message-ID`` and ``Date`` headers (https://github.com/ansible-collections/community.general/issues/4055, https://github.com/ansible-collections/community.general/pull/4056). diff --git a/changelogs/fragments/4058-lists_mergeby-add-parameters.yml b/changelogs/fragments/4058-lists_mergeby-add-parameters.yml deleted file mode 100644 index 3f73b8f3ab..0000000000 --- a/changelogs/fragments/4058-lists_mergeby-add-parameters.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - lists_mergeby filter plugin - add parameters ``list_merge`` and ``recursive``. These are only supported when used with ansible-base 2.10 or ansible-core, but not with Ansible 2.9 (https://github.com/ansible-collections/community.general/pull/4058). diff --git a/changelogs/fragments/4062-nmcli-ipv6-routes-support.yml b/changelogs/fragments/4062-nmcli-ipv6-routes-support.yml deleted file mode 100644 index 38378d56f8..0000000000 --- a/changelogs/fragments/4062-nmcli-ipv6-routes-support.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - nmcli - adds ``routes6`` and ``route_metric6`` parameters for supporting IPv6 routes (https://github.com/ansible-collections/community.general/issues/4059). diff --git a/changelogs/fragments/4068-add-include_file-option.yml b/changelogs/fragments/4068-add-include_file-option.yml deleted file mode 100644 index c54da08943..0000000000 --- a/changelogs/fragments/4068-add-include_file-option.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - cobbler inventory plugin - add ``include_profiles`` option (https://github.com/ansible-collections/community.general/pull/4068). diff --git a/changelogs/fragments/4078-python_requirements_info.yaml b/changelogs/fragments/4078-python_requirements_info.yaml deleted file mode 100644 index db6aa8ab77..0000000000 --- a/changelogs/fragments/4078-python_requirements_info.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - python_requirements_info - store ``mismatched`` return values per package as documented in the module (https://github.com/ansible-collections/community.general/pull/4078). \ No newline at end of file diff --git a/changelogs/fragments/4088-add-constructed-interface-for-icinga2-inventory.yml b/changelogs/fragments/4088-add-constructed-interface-for-icinga2-inventory.yml deleted file mode 100644 index 1b1d24714a..0000000000 --- a/changelogs/fragments/4088-add-constructed-interface-for-icinga2-inventory.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - icinga2 inventory plugin - implemented constructed interface (https://github.com/ansible-collections/community.general/pull/4088). diff --git a/changelogs/fragments/4092-fix_local_ports_regex_listen_ports_facts.yaml b/changelogs/fragments/4092-fix_local_ports_regex_listen_ports_facts.yaml deleted file mode 100644 index 15d6d60fcb..0000000000 --- a/changelogs/fragments/4092-fix_local_ports_regex_listen_ports_facts.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - listen_ports_facts - local port regex was not handling well IPv6 only binding. Fixes the regex for ``ss`` (https://github.com/ansible-collections/community.general/pull/4092). diff --git a/changelogs/fragments/4104-opentelemetry_plugin-enrich_docker_login.yaml b/changelogs/fragments/4104-opentelemetry_plugin-enrich_docker_login.yaml deleted file mode 100644 index fd05ffccfe..0000000000 --- a/changelogs/fragments/4104-opentelemetry_plugin-enrich_docker_login.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - opentelemetry_plugin - enrich service when using the ``docker_login`` (https://github.com/ansible-collections/community.general/pull/4104). diff --git a/changelogs/fragments/4140-mail-callback-options.yml b/changelogs/fragments/4140-mail-callback-options.yml deleted file mode 100644 index 6ce56da8d8..0000000000 --- a/changelogs/fragments/4140-mail-callback-options.yml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: - - "mail callback plugin - properly use Ansible's option handling to split lists (https://github.com/ansible-collections/community.general/pull/4140)." -deprecated_features: - - "mail callback plugin - not specifying ``sender`` is deprecated and will be disallowed in community.general 6.0.0 (https://github.com/ansible-collections/community.general/pull/4140)."