community / community.general / 0.1.1 / module / syspatch Manage OpenBSD system patches Authors: Andrew Klaus (@precurse) preview | supported by communitycommunity.general.syspatch (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Manage OpenBSD system patches using syspatch
- name: Apply all available system patches syspatch: apply: true
- name: Revert last patch syspatch: revert: one
- name: Revert all patches syspatch: revert: all
# NOTE: You can reboot automatically if a patch requires it: - name: Apply all patches and store result syspatch: apply: true register: syspatch
- name: Reboot if patch requires it reboot: when: syspatch.reboot_needed
apply: default: false description: - Apply all available system patches required: false revert: choices: - all - one description: - Revert system patches required: false type: str
rc: description: The command return code (0 means success) returned: always type: int reboot_needed: description: Whether or not a reboot is required after an update returned: always sample: true type: bool stderr: description: syspatch standard error returned: always sample: 'syspatch: need root privileges' type: str stdout: description: syspatch standard output returned: always sample: 001_rip6cksum type: str