diff --git a/playbooks/manual/update-firmware.yml b/playbooks/manual/update-firmware.yml index ffed9a918c..ba1ad13061 100644 --- a/playbooks/manual/update-firmware.yml +++ b/playbooks/manual/update-firmware.yml @@ -37,11 +37,13 @@ tasks: - name: Create drop place for upgrades + always_run: true when: ansible_virtualization_role == "host" file: path=/root/firmware-upgrades state=directory - name: Check which updates to copy + always_run: true stat: path=/root/firmware-upgrades/{{ item.1}}.applied register: is_applied_results when: item.0.vendor == ansible_system_vendor and item.0.product == ansible_product_name @@ -50,6 +52,7 @@ - files - name: Copy updates + always_run: true copy: src={{ bigfiles }}/firmware/{{ item.item.0.dirname }}/{{ item.item.1}} dest=/root/firmware-upgrades/ mode=0700 @@ -60,6 +63,7 @@ # Dell updates here - name: Check Dell updates + always_run: true command: /root/firmware-upgrades/{{ item.item.1}} -qc register: check_results failed_when: "'System(s) supported by this package' in check_results.stdout" @@ -85,6 +89,7 @@ # We are cleaning up all files we copied, regardless of update result - name: Delete update files + always_run: true file: path=/root/firmware-upgrades/{{ item.item.1 }} state=absent when: "'stat' in item and not item.stat.exists"