Skip to content

Commit

Permalink
ci: Add check for Cockpit package installation status in reboot condi…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
HVSharma12 authored and richm committed Jan 15, 2024
1 parent 776426e commit acb0489
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tasks/setup-zypper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
if cockpit_packages in __cockpit_package_types
else cockpit_packages }}"
state: present
register: cockpit_installation_status

- name: Reboot system
- name: Reboot transactional update systems
reboot:
when: ansible_distribution == 'ALP-Dolomite'
when:
- cockpit_installation_status is changed
- ansible_distribution == 'ALP-Dolomite'

0 comments on commit acb0489

Please sign in to comment.