ansible.builtin.syspatch (v2.9.27) — module

Manage OpenBSD system patches

| "added in version" 2.9 of ansible.builtin"

Authors: Andrew Klaus (@precurse)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Manage OpenBSD system patches using syspatch

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Apply all available system patches
  syspatch:
    apply: true
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Revert last patch
  syspatch:
    revert: one
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Revert all patches
  syspatch:
    revert: all

Inputs

    
apply:
    default: false
    description:
    - Apply all available system patches
    required: false

revert:
    choices:
    - all
    - one
    description:
    - Revert system patches
    required: false
    type: str

Outputs

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