16 lines
429 B
YAML
16 lines
429 B
YAML
---
|
|
- name: Perform full system upgrade
|
|
become: true
|
|
community.general.pacman:
|
|
update_cache: true
|
|
upgrade: true
|
|
extra_args: "--noconfirm"
|
|
register: arch_upgrade_result
|
|
failed_when:
|
|
- arch_upgrade_result.failed == true
|
|
- "'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
|
|
|