Skip to content

Commit

Permalink
Fix analysis handler for registering to pre-leapp activation key. (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmcutter authored Mar 24, 2024
1 parent 9a07835 commit bff21be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelogs/fragments/fix_sat_reg_handler_pre_leapp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
minor_changes:
- Fix analysis handler for Satellite registration (add conditional for if pre_leapp key is defined).
...
4 changes: 4 additions & 0 deletions roles/analysis/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
activationkey: "{{ satellite_activation_key_pre_leapp }}"
org_id: "{{ satellite_organization }}"
force_register: true
when:
- leapp_upgrade_type == 'satellite'
- satellite_organization is defined
- satellite_activation_key_pre_leapp is defined

# TODO: Having issues with community.general.redhat_subscription and subscription-manager on RHEL 6.
- name: Register to pre leapp activation key RHEL 6
Expand Down

0 comments on commit bff21be

Please sign in to comment.