blob: 17196117db731bb78774c1a7e7110e0f6996508d (
plain) (
tree)
|
|
---
- name: apply system update
ansible.builtin.command: syspatch
register: update_result_system_update
failed_when:
- update_result_system_update.rc > 0
- update_result_system_update.rc != 2
changed_when:
- update_result_system_update.rc == 0
when: ansible_distribution == "OpenBSD"
- name: apply package update
ansible.builtin.package:
name: "*"
state: latest
|