Skip to content

Commit

Permalink
Allow skipping of validation of previous analysis results.
Browse files Browse the repository at this point in the history
This allows the approach of:
1. Run analysis and check if there are any unknown inhibitors not already known and handled by remediation.
2. Go straight to upgrade which includes snapshot, remediation, upgrade, etc. without running analysis again.

This is fine because the leapp upgrade will stop anyways if there are still inhibitors remaining after remediation.
  • Loading branch information
jeffmcutter committed Mar 15, 2024
1 parent 99e6bcd commit 3d58017
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/upgrade/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ os_path: $PATH

async_timeout_maximum: 7200
async_poll_interval: 60

check_leapp_analysis_results: true

...
1 change: 1 addition & 0 deletions roles/upgrade/tasks/leapp-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
ansible.builtin.assert:
that: not upgrade_inhibited
msg: Inhibitors found, please investigate and rerun analysis.
when: check_leapp_analysis_results

- name: leapp-upgrade | Register to leapp activation key
community.general.redhat_subscription:
Expand Down

0 comments on commit 3d58017

Please sign in to comment.