test: simulate update
This commit is contained in:
@@ -60,6 +60,13 @@
|
||||
check_mode: true
|
||||
register: apt_check
|
||||
|
||||
- name: Simulate update report
|
||||
ansible.builtin.set_fact:
|
||||
update_report:
|
||||
old: "{{ pve_old_version.stdout }}"
|
||||
new: "{{ pve_new_version.stdout }}"
|
||||
when: "'vertex' in inventory_hostname"
|
||||
|
||||
- name: Proceed if updates are available
|
||||
when: apt_check.changed
|
||||
block:
|
||||
|
||||
Reference in New Issue
Block a user