Skip to content

Commit

Permalink
Drop target-version in Capsule upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Aug 16, 2024
1 parent d2bfe11 commit 437e4fa
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ feature: ansible_run_capsule_upgrade

---
- hosts: all
vars:
target_version: "<%= input('target_version').present? ? input('target_version') : product_short_version %>"
tasks:
<% if plugin_present?('foreman_theme_satellite') -%>
- name: Gather the rpm package facts
Expand All @@ -47,7 +45,7 @@ feature: ansible_run_capsule_upgrade
"--whitelist=#{input('whitelist_options')}"
end -%>
- name: Upgrade Capsule server using satellite-maintain
shell: satellite-maintain upgrade run --assumeyes --target-version={{ target_version }} <%= whitelist_option %>
shell: satellite-maintain upgrade run --assumeyes <%= whitelist_option %>
register: result

- name: Re-Gather the rpm package facts after the upgrade
Expand Down

0 comments on commit 437e4fa

Please sign in to comment.