Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,80 @@ Ansible Leapp Collection Release Notes

.. contents:: Topics

v1.7.0
======

Minor Changes
-------------

- Add a remediation for the "Legacy network configuration found" inhibitor on the RHEL 9 to 10 upgrade path.
- Add a remediation for the "cgroups-v1 enabled on the system" inhibitor on the RHEL 9 to 10 upgrade path.
- Add a test for the cifs shares remediation.
- Add remediation role to move /usr directory to root partition when upgrading from RHEL 6 to 7.
- Add support for metalink field in custom repository definitions.
- Add test for unsupported kernel modules remediation.
- Add unit test for the leapp_old_postgresql_data remediation.
- Add warning about limited ongoing technical support for RHEL 6 upgrades.
- Do not output information about included custom repositories to avoid exposing URLs.
- Enable the remediate role for the RHEL 9 to 10 upgrade path.
- Ensure job_name is defined in all tests.
- Fix jinja warnings - use default variables for lists instead of jinja.
- Fix the post-upgrade on-demand update so that it will not execute if there are no post-upgrade repositories specified.
- Get default remediations by reading files from remediation tasks directory.
- Move common variables from analysis and upgrade into common.
- Move parse_leapp_report to common role instead of being a standalone role.
- Refactor code to remove some ansible-lint warnings and errors.
- Refactor kernel modules management into common manage_kernel_modules.yml task.
- Refactor remediations - extract common code into remediation main.yml - use conditionals/blocks instead of fail/rescue for flow control.
- Remove extra collection dependencies from readmes and collection-requirements.yml files.
- Remove leapp-upgrade package before each test to ensure role will install it.
- Remove leapp_inhibitors from vars file - it is a set_fact.
- Remove outdated (pre-upgrade) bootloader kernel entries.
- Remove roles/upgrade/meta/argument_spec.yml because it listed only a single outdated variable.
- Remove roles/upgrade/meta/collection-requirements.yml because meta/collection-requirements.yml should be on the collection root level only.
- Remove the dependency on the community.general.archive module.
- Remove the dependency on the community.general.rhsm_repository module.
- Remove the dependency on the community.general.yum_versionlock module.
- Rename leapp_infra_upgrade_system_roles_collection to a shorter and preciser leapp_system_roles_collection.
- Renamed Satellite activation key variables for clarity. ``leapp_satellite_activation_key_leapp`` is now ``leapp_satellite_activation_key``, ``leapp_satellite_activation_key_pre_leapp`` is now ``leapp_satellite_activation_key_post_analysis``, and ``leapp_satellite_activation_key_post_leapp`` is now ``leapp_satellite_activation_key_post_upgrade``. The old variables are now deprecated.
- Replace ansible.posix.mount module with the storage system role
- Replace ansible.posix.selinux module with the selinux system role
- Replace community.general.redhat_subscription module with the rhc system role.
- Set SR_ANSIBLE_INJECT_FACT_VARS to false by default in the CI.
- Updated remediate role to search for Leapp inhibitors by key first, with a fallback to title search. This improves search reliability when report titles are modified by Leapp.
- Variables for pre-upgrade and post-upgrade Satellite activation keys now default to the upgrade activation key, making them optional but recommended.
- Vendor community.general.modprobe module as infra.leapp.modprobe to remove dependency on community.general collection.
- refactor - handle INJECT_FACTS_AS_VARS=false by using ansible_facts instead
- sshd_remediation - remove when condition from sshd_remediation.yml which prevents the issue where the analysis role flags an inhibitor for sshd_config during a RHEL 8 to RHEL 9 upgrade but the remediation role skips it as it's not RHEL 7
- upgrade - Replaced the post_7_to_8_python_interpreter variable with leapp_post_upgrade_python_interpreter that affects Ansible interpreter used after a leapp upgrade to execute post-upgrade tasks. This change leaves the original variable functional, however, it is considered deprecated.

Deprecated Features
-------------------

- Rename variables of ALL roles in the collection to prefix them with __leapp_ to avoid conflicts with other roles. Older variables names are deprecated and will be removed in a future release.

Bugfixes
--------

- Add leapp_infra_upgrade_system_roles_collection to roles where it's applicable. Both to README and defaults/main.yml.
- Add parameter leapp_remediate_ssh_password_auth with default value true to remediate role.
- By default, this is true, which is the old default.
- Convert pipeline to list and use first to get first element for Ansible 2.9 support
- Ensure that unsupported kernel modules are unloaded before running leapp upgrade.
- Fix configuring local_repos_leapp yum repositories file. Previously, it was hardcoded to __leapp_repo_file regardless of whether file key was provided with one of local_repos_leapp
- Fixed Satellite registration handling.
- Fixed task responsible for removing package version locks that would fail if versionlock sub-command for dnf/yum was not available.
- Fixing CI workflow to rebuild collection for Automation Hub using redhat.rhel_system_roles collection as dependency.
- The default leapp_remediate_ssh_password_auth true might lock out your Ansible session and the play will
- The leapp_inhibitors variable is sometimes not defined
- The reboot module does use the `timeout` keyword. Do not worry about 2.9 support.
- This parameter is used to determine whether to remediate SSH password authentication by setting PasswordAuthentication to no
- Use the split string method instead of the filter for 2.9 support.
- and PermitRootLogin to prohibit-password.
- fail if you are using Ansible with ssh and password authentication.
- fixed missing leapp package when upgrade role is run without running the analysis role first
- version locking dependencies for community.general to be less than 12"

v1.6.1
======

Expand Down
145 changes: 145 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,148 @@ releases:
- import_issues.yml
- rhel_9_to_10.yml
release_date: '2025-07-14'
1.7.0:
changes:
bugfixes:
- Add leapp_infra_upgrade_system_roles_collection to roles where it's applicable.
Both to README and defaults/main.yml.
- Add parameter leapp_remediate_ssh_password_auth with default value true to
remediate role.
- By default, this is true, which is the old default.
- Convert pipeline to list and use first to get first element for Ansible 2.9
support
- Ensure that unsupported kernel modules are unloaded before running leapp upgrade.
- Fix configuring local_repos_leapp yum repositories file. Previously, it was
hardcoded to __leapp_repo_file regardless of whether file key was provided
with one of local_repos_leapp
- Fixed Satellite registration handling.
- Fixed task responsible for removing package version locks that would fail
if versionlock sub-command for dnf/yum was not available.
- Fixing CI workflow to rebuild collection for Automation Hub using redhat.rhel_system_roles
collection as dependency.
- The default leapp_remediate_ssh_password_auth true might lock out your Ansible
session and the play will
- The leapp_inhibitors variable is sometimes not defined
- The reboot module does use the `timeout` keyword. Do not worry about 2.9
support.
- This parameter is used to determine whether to remediate SSH password authentication
by setting PasswordAuthentication to no
- Use the split string method instead of the filter for 2.9 support.
- and PermitRootLogin to prohibit-password.
- fail if you are using Ansible with ssh and password authentication.
- fixed missing leapp package when upgrade role is run without running the analysis
role first
- version locking dependencies for community.general to be less than 12"
deprecated_features:
- Rename variables of ALL roles in the collection to prefix them with __leapp_
to avoid conflicts with other roles. Older variables names are deprecated
and will be removed in a future release.
minor_changes:
- Add a remediation for the "Legacy network configuration found" inhibitor on
the RHEL 9 to 10 upgrade path.
- Add a remediation for the "cgroups-v1 enabled on the system" inhibitor on
the RHEL 9 to 10 upgrade path.
- Add a test for the cifs shares remediation.
- Add remediation role to move /usr directory to root partition when upgrading
from RHEL 6 to 7.
- Add support for metalink field in custom repository definitions.
- Add test for unsupported kernel modules remediation.
- Add unit test for the leapp_old_postgresql_data remediation.
- Add warning about limited ongoing technical support for RHEL 6 upgrades.
- Do not output information about included custom repositories to avoid exposing
URLs.
- Enable the remediate role for the RHEL 9 to 10 upgrade path.
- Ensure job_name is defined in all tests.
- Fix jinja warnings - use default variables for lists instead of jinja.
- Fix the post-upgrade on-demand update so that it will not execute if there
are no post-upgrade repositories specified.
- Get default remediations by reading files from remediation tasks directory.
- Move common variables from analysis and upgrade into common.
- Move parse_leapp_report to common role instead of being a standalone role.
- Refactor code to remove some ansible-lint warnings and errors.
- Refactor kernel modules management into common manage_kernel_modules.yml task.
- Refactor remediations - extract common code into remediation main.yml - use
conditionals/blocks instead of fail/rescue for flow control.
- Remove extra collection dependencies from readmes and collection-requirements.yml
files.
- Remove leapp-upgrade package before each test to ensure role will install
it.
- Remove leapp_inhibitors from vars file - it is a set_fact.
- Remove outdated (pre-upgrade) bootloader kernel entries.
- Remove roles/upgrade/meta/argument_spec.yml because it listed only a single
outdated variable.
- Remove roles/upgrade/meta/collection-requirements.yml because meta/collection-requirements.yml
should be on the collection root level only.
- Remove the dependency on the community.general.archive module.
- Remove the dependency on the community.general.rhsm_repository module.
- Remove the dependency on the community.general.yum_versionlock module.
- Rename leapp_infra_upgrade_system_roles_collection to a shorter and preciser
leapp_system_roles_collection.
- Renamed Satellite activation key variables for clarity. ``leapp_satellite_activation_key_leapp``
is now ``leapp_satellite_activation_key``, ``leapp_satellite_activation_key_pre_leapp``
is now ``leapp_satellite_activation_key_post_analysis``, and ``leapp_satellite_activation_key_post_leapp``
is now ``leapp_satellite_activation_key_post_upgrade``. The old variables
are now deprecated.
- Replace ansible.posix.mount module with the storage system role
- Replace ansible.posix.selinux module with the selinux system role
- Replace community.general.redhat_subscription module with the rhc system role.
- Set SR_ANSIBLE_INJECT_FACT_VARS to false by default in the CI.
- Updated remediate role to search for Leapp inhibitors by key first, with a
fallback to title search. This improves search reliability when report titles
are modified by Leapp.
- Variables for pre-upgrade and post-upgrade Satellite activation keys now default
to the upgrade activation key, making them optional but recommended.
- Vendor community.general.modprobe module as infra.leapp.modprobe to remove
dependency on community.general collection.
- refactor - handle INJECT_FACTS_AS_VARS=false by using ansible_facts instead
- sshd_remediation - remove when condition from sshd_remediation.yml which prevents
the issue where the analysis role flags an inhibitor for sshd_config during
a RHEL 8 to RHEL 9 upgrade but the remediation role skips it as it's not RHEL
7
- upgrade - Replaced the post_7_to_8_python_interpreter variable with leapp_post_upgrade_python_interpreter
that affects Ansible interpreter used after a leapp upgrade to execute post-upgrade
tasks. This change leaves the original variable functional, however, it is
considered deprecated.
fragments:
- 268-allow-to-not-remediate-root-login.yml
- 298-add-remediations-for-9to10.yml
- 302-fix-post-upgrade-custom-repos-update.yml
- 303-replace-selinux-module.yml
- 313-remove-yum_versionlock-module.yml
- 328-remove-rhsm_repository-module.yml
- 331-remove-archive-module.yml
- 332-rhel6-not-supported-warning.yml
- 338-ci-inject-facts-false-by-default.yml
- 339-fix-version-lock-check.yml
- 341-support-metalink.yml
- 347-improve-inhibitor-lookup.yml
- 348-remove-redhat_subscription-module.yml
- 349-fix-satellite-registration.yml
- 353-fix-system_roles_collection.yml
- 357-rename-to-leapp_system_roles_collection.yml
- 359-rename-satellite-activation-key-variables.yml
- 360-unify-tables-in-readmes.yml
- add-test-for-cifs-remediation.yml
- custom_local_repos_fix_file.yml
- ensure_job_name_defined.yml
- fix-8-9-upgrade.yml
- fix-do-not-use-split-filter.yml
- fix-handle-leapp_inhibitors-not-defined.yml
- fix_267.yml
- fix_272.yml
- fix_convert_to_list_first_2.9.yml
- fix_reboot_add_back_timeout_keyword.yml
- fix_unsupported_kernel_modules.yml
- fixing_ci.yml
- move_parse_leapp_report.yml
- move_usr_directory.yml
- refactor-vars-jinja-ansible-lint.yml
- refactor_ansible_lint.yml
- refactor_inject_facts_as_vars_false.yml
- refactor_remediations.yml
- rename-variables.yml
- replace-mount-module.yml
- sshd_remediation.yml
- vendor-modprobe-module.yml
- version_lock_community_general.yml
release_date: '2026-02-17'

This file was deleted.

7 changes: 0 additions & 7 deletions changelogs/fragments/298-add-remediations-for-9to10.yml

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/303-replace-selinux-module.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/313-remove-yum_versionlock-module.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/328-remove-rhsm_repository-module.yml

This file was deleted.

5 changes: 0 additions & 5 deletions changelogs/fragments/331-remove-archive-module.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/332-rhel6-not-supported-warning.yml

This file was deleted.

5 changes: 0 additions & 5 deletions changelogs/fragments/338-ci-inject-facts-false-by-default.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/339-fix-version-lock-check.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/341-support-metalink.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/347-improve-inhibitor-lookup.yml

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions changelogs/fragments/349-fix-satellite-registration.yml

This file was deleted.

8 changes: 0 additions & 8 deletions changelogs/fragments/353-fix-system_roles_collection.yml

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/360-unify-tables-in-readmes.yml

This file was deleted.

5 changes: 0 additions & 5 deletions changelogs/fragments/add-test-for-cifs-remediation.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/custom_local_repos_fix_file.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/ensure_job_name_defined.yml

This file was deleted.

5 changes: 0 additions & 5 deletions changelogs/fragments/fix-8-9-upgrade.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/fix-do-not-use-split-filter.yml

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/fix_267.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/fix_272.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/fix_convert_to_list_first_2.9.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/fix_reboot_add_back_timeout_keyword.yml

This file was deleted.

7 changes: 0 additions & 7 deletions changelogs/fragments/fix_unsupported_kernel_modules.yml

This file was deleted.

Loading