diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 436655d..6765eae 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,50 @@ ansible.posix Release Notes .. contents:: Topics +v2.2.0 +====== + +Release Summary +--------------- + +This is the minor release of the ``ansible.posix`` collection. +This changelog contains all changes to the modules and plugins +in the stable-2 branch that have been added after the release of +``ansible.posix`` 2.1.0 + +Minor Changes +------------- + +- acl - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). +- authorized_key - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). +- cgroup_perf_recap callback - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). +- csh shell plugin - fix deprecated ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). +- firewalld_info - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). +- firewalld_info - use module.warn instead of passing ``warnings`` to ``exit_json`` (https://github.com/ansible-collections/ansible.posix/issues/710). +- fish shell plugin - fix deprecated ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). +- json callback - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). +- jsonl callback - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). +- mount - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). +- patch - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). +- profile_roles callback - fix deprecated ``ansible.module_utils.six`` import (https://github.com/ansible-collections/ansible.posix/issues/686). +- profile_tasks - Add option to provide a different date/time format (https://github.com/ansible-collections/ansible.posix/issues/279). +- profile_tasks callback - fix deprecated ``ansible.module_utils.six`` import (https://github.com/ansible-collections/ansible.posix/issues/686). +- removed ANSIBLE_METADATA from remaining plugins. +- rhel_rpm_ostree - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). +- rpm_ostree_upgrade - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). +- seboolean - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). +- synchronize - fix deprecated ``ansible.module_utils._text``, ``ansible.module_utils.common._collections_compat``, and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). +- sysctl - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). + +Bugfixes +-------- + +- acl - correctly assert needed changes when pointing to a directory and recursive is set to true. +- ansible.posix.authorized_key - fixes error on permission denied in authorized_key module (https://github.com/ansible-collections/ansible.posix/issues/462). +- firewalld_info - stop returning warnings as return values; this has been deprecated by ansible-core (https://github.com/ansible-collections/ansible.posix/pull/670). +- mount - stop returning warnings as return values; this has been deprecated by ansible-core (https://github.com/ansible-collections/ansible.posix/pull/670). +- patch - removed use of deprecated ``_AnsibleActionDone`` API (https://github.com/ansible-collections/ansible.posix/pull/687). + v2.1.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 5517d06..73f5350 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -512,3 +512,69 @@ releases: - 650-profile_tasks_roles.yml - 654_ci_bump_core_version.yml release_date: '2025-07-16' + 2.2.0: + changes: + bugfixes: + - acl - correctly assert needed changes when pointing to a directory and recursive + is set to true. + - ansible.posix.authorized_key - fixes error on permission denied in authorized_key + module (https://github.com/ansible-collections/ansible.posix/issues/462). + - firewalld_info - stop returning warnings as return values; this has been deprecated + by ansible-core (https://github.com/ansible-collections/ansible.posix/pull/670). + - mount - stop returning warnings as return values; this has been deprecated + by ansible-core (https://github.com/ansible-collections/ansible.posix/pull/670). + - patch - removed use of deprecated ``_AnsibleActionDone`` API (https://github.com/ansible-collections/ansible.posix/pull/687). + minor_changes: + - acl - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). + - authorized_key - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` + imports (https://github.com/ansible-collections/ansible.posix/issues/686). + - cgroup_perf_recap callback - fix deprecated ``ansible.module_utils._text`` + and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). + - csh shell plugin - fix deprecated ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). + - firewalld_info - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). + - firewalld_info - use module.warn instead of passing ``warnings`` to ``exit_json`` + (https://github.com/ansible-collections/ansible.posix/issues/710). + - fish shell plugin - fix deprecated ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). + - json callback - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). + - jsonl callback - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). + - mount - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` + imports (https://github.com/ansible-collections/ansible.posix/issues/686). + - patch - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). + - profile_roles callback - fix deprecated ``ansible.module_utils.six`` import + (https://github.com/ansible-collections/ansible.posix/issues/686). + - profile_tasks - Add option to provide a different date/time format (https://github.com/ansible-collections/ansible.posix/issues/279). + - profile_tasks callback - fix deprecated ``ansible.module_utils.six`` import + (https://github.com/ansible-collections/ansible.posix/issues/686). + - removed ANSIBLE_METADATA from remaining plugins. + - rhel_rpm_ostree - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). + - rpm_ostree_upgrade - fix deprecated ``ansible.module_utils._text`` import + (https://github.com/ansible-collections/ansible.posix/issues/686). + - seboolean - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). + - synchronize - fix deprecated ``ansible.module_utils._text``, ``ansible.module_utils.common._collections_compat``, + and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). + - sysctl - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` + imports (https://github.com/ansible-collections/ansible.posix/issues/686). + release_summary: 'This is the minor release of the ``ansible.posix`` collection. + + This changelog contains all changes to the modules and plugins + + in the stable-2 branch that have been added after the release of + + ``ansible.posix`` 2.1.0' + fragments: + - 2.2.0.yml + - 626_profile_tasks_datetime_format.yml + - 638_fix_recursive_acl.yml + - 639_fix_authorized_key.yml + - 660_ci_azp_syntax.yml + - 665_update_readme_20250728.yml + - 666_azp_update_20250728.yml + - 670-deprecations.yml + - 673_update_ci_20250805.yml + - 682_update_ci_20250929.yml + - 686_fix_deprecated_imports.yml + - 693_azp_update_20251205.yml + - ansible_metadata_removed.yml + - firewalld_info_warnings.yml + - patch_removed.yml + release_date: '2026-05-18' diff --git a/changelogs/fragments/626_profile_tasks_datetime_format.yml b/changelogs/fragments/626_profile_tasks_datetime_format.yml deleted file mode 100644 index 3a60e55..0000000 --- a/changelogs/fragments/626_profile_tasks_datetime_format.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - profile_tasks - Add option to provide a different date/time format (https://github.com/ansible-collections/ansible.posix/issues/279). diff --git a/changelogs/fragments/638_fix_recursive_acl.yml b/changelogs/fragments/638_fix_recursive_acl.yml deleted file mode 100644 index cf4ed39..0000000 --- a/changelogs/fragments/638_fix_recursive_acl.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - acl - correctly assert needed changes when pointing to a directory and recursive is set to true. diff --git a/changelogs/fragments/639_fix_authorized_key.yml b/changelogs/fragments/639_fix_authorized_key.yml deleted file mode 100644 index 4477ce4..0000000 --- a/changelogs/fragments/639_fix_authorized_key.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - ansible.posix.authorized_key - fixes error on permission denied in authorized_key module (https://github.com/ansible-collections/ansible.posix/issues/462). diff --git a/changelogs/fragments/660_ci_azp_syntax.yml b/changelogs/fragments/660_ci_azp_syntax.yml deleted file mode 100644 index 1efd77a..0000000 --- a/changelogs/fragments/660_ci_azp_syntax.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - AZP - fixed syntax error in CI test. diff --git a/changelogs/fragments/665_update_readme_20250728.yml b/changelogs/fragments/665_update_readme_20250728.yml deleted file mode 100644 index 0b59713..0000000 --- a/changelogs/fragments/665_update_readme_20250728.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - README - Update README to reflect Ansible Core 2.19 release. diff --git a/changelogs/fragments/666_azp_update_20250728.yml b/changelogs/fragments/666_azp_update_20250728.yml deleted file mode 100644 index d6b4b24..0000000 --- a/changelogs/fragments/666_azp_update_20250728.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - AZP - Update AZP matrix to follow ansible-test changes. diff --git a/changelogs/fragments/670-deprecations.yml b/changelogs/fragments/670-deprecations.yml deleted file mode 100644 index 28a2ea4..0000000 --- a/changelogs/fragments/670-deprecations.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - "firewalld_info - stop returning warnings as return values; this has been deprecated by ansible-core (https://github.com/ansible-collections/ansible.posix/pull/670)." - - "mount - stop returning warnings as return values; this has been deprecated by ansible-core (https://github.com/ansible-collections/ansible.posix/pull/670)." diff --git a/changelogs/fragments/673_update_ci_20250805.yml b/changelogs/fragments/673_update_ci_20250805.yml deleted file mode 100644 index 6e47187..0000000 --- a/changelogs/fragments/673_update_ci_20250805.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - Update AZP CI matrix (https://github.com/ansible-collections/ansible.posix/issues/673). diff --git a/changelogs/fragments/682_update_ci_20250929.yml b/changelogs/fragments/682_update_ci_20250929.yml deleted file mode 100644 index d2bfd3c..0000000 --- a/changelogs/fragments/682_update_ci_20250929.yml +++ /dev/null @@ -1,4 +0,0 @@ -trivial: - - Updatng AZP CI matrix to ignore ansible-bad-import-from on six(https://github.com/ansible-collections/ansible.posix/pull/682). - - Skipped sanity[cannot-ignore] to keep backward compatibility with Python2. - - Consolidate all ansible-lint option locations into .ansible-lint file. diff --git a/changelogs/fragments/686_fix_deprecated_imports.yml b/changelogs/fragments/686_fix_deprecated_imports.yml deleted file mode 100644 index ff27dca..0000000 --- a/changelogs/fragments/686_fix_deprecated_imports.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -minor_changes: - - acl - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). - - authorized_key - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). - - cgroup_perf_recap callback - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). - - csh shell plugin - fix deprecated ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). - - firewalld_info - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). - - fish shell plugin - fix deprecated ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). - - json callback - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). - - jsonl callback - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). - - mount - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). - - patch - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). - - profile_roles callback - fix deprecated ``ansible.module_utils.six`` import (https://github.com/ansible-collections/ansible.posix/issues/686). - - profile_tasks callback - fix deprecated ``ansible.module_utils.six`` import (https://github.com/ansible-collections/ansible.posix/issues/686). - - rhel_rpm_ostree - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). - - rpm_ostree_upgrade - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). - - seboolean - fix deprecated ``ansible.module_utils._text`` import (https://github.com/ansible-collections/ansible.posix/issues/686). - - synchronize - fix deprecated ``ansible.module_utils._text``, ``ansible.module_utils.common._collections_compat``, and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). - - sysctl - fix deprecated ``ansible.module_utils._text`` and ``ansible.module_utils.six`` imports (https://github.com/ansible-collections/ansible.posix/issues/686). diff --git a/changelogs/fragments/693_azp_update_20251205.yml b/changelogs/fragments/693_azp_update_20251205.yml deleted file mode 100644 index 823fd59..0000000 --- a/changelogs/fragments/693_azp_update_20251205.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -trivial: - - AZP - Update AZP matrix to follow ansible-test changes. - - Add ignore file for Ansible Core 2.21. - - Remove ignore lines for ansible-bad-import-from in 2.20 sanity tests. diff --git a/changelogs/fragments/ansible_metadata_removed.yml b/changelogs/fragments/ansible_metadata_removed.yml deleted file mode 100644 index ada61f6..0000000 --- a/changelogs/fragments/ansible_metadata_removed.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - removed ANSIBLE_METADATA from remaining plugins. diff --git a/changelogs/fragments/firewalld_info_warnings.yml b/changelogs/fragments/firewalld_info_warnings.yml deleted file mode 100644 index c214964..0000000 --- a/changelogs/fragments/firewalld_info_warnings.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - firewalld_info - use module.warn instead of passing ``warnings`` to ``exit_json`` (https://github.com/ansible-collections/ansible.posix/issues/710). diff --git a/changelogs/fragments/patch_removed.yml b/changelogs/fragments/patch_removed.yml deleted file mode 100644 index 46e8b10..0000000 --- a/changelogs/fragments/patch_removed.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - patch - removed use of deprecated ``_AnsibleActionDone`` API (https://github.com/ansible-collections/ansible.posix/pull/687). diff --git a/galaxy.yml b/galaxy.yml index 64e48d8..d68504a 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: ansible name: posix -version: 2.1.0 +version: 2.2.0 readme: README.md authors: - Ansible (github.com/ansible)