Initial commit after reviewing this with Claude Opus.
This commit is contained in:
@@ -6,12 +6,10 @@
|
||||
upgrade: true
|
||||
extra_args: "--noconfirm"
|
||||
register: arch_upgrade_result
|
||||
#- name: Debug full Arch upgrade output
|
||||
# ansible.builtin.debug:
|
||||
# var: arch_upgrade_result
|
||||
failed_when:
|
||||
- arch_upgrade_result.failed == true
|
||||
# We ignore the failure if it's just 'nothing to do',
|
||||
# # but otherwise, we let it fail so you can step in.
|
||||
- "'Nothing to upgrade' not in arch_upgrade_result.msg"
|
||||
- "'there is nothing to do' not in (arch_upgrade_result.stdout | default('') | lower)"
|
||||
- name: Debug full Arch upgrade output
|
||||
ansible.builtin.debug:
|
||||
var: arch_upgrade_result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user