diff --git a/roles/upgrade/defaults/main.yml b/roles/upgrade/defaults/main.yml index fd88eb2..b01dc25 100644 --- a/roles/upgrade/defaults/main.yml +++ b/roles/upgrade/defaults/main.yml @@ -50,4 +50,7 @@ os_path: $PATH async_timeout_maximum: 7200 async_poll_interval: 60 + +check_leapp_analysis_results: true + ... diff --git a/roles/upgrade/tasks/leapp-upgrade.yml b/roles/upgrade/tasks/leapp-upgrade.yml index 52d5e65..272c0a4 100644 --- a/roles/upgrade/tasks/leapp-upgrade.yml +++ b/roles/upgrade/tasks/leapp-upgrade.yml @@ -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: