uyuni_project.uyuni.install_patches module – Install patches

Note

This module is part of the uyuni_project.uyuni collection (version 0.5.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install uyuni_project.uyuni.

To use it in a playbook, specify: uyuni_project.uyuni.install_patches.

Synopsis

  • Install patches on a managed host

Parameters

Parameter

Comments

exclude_patches

list / elements=string

List of patch names or IDs to exclude from installation

include_patches

list / elements=string

List of patch names or IDs to install

name

string / required

Name or profile ID of the managed host

uyuni_host

string / required

Uyuni API endpoint URL

uyuni_password

string / required

Uyuni login password

uyuni_port

integer

Uyuni API endpoint port

Default: 443

uyuni_user

string / required

Uyuni login user

uyuni_verify_ssl

boolean

Verify SSL certificate

Choices:

  • false

  • true ← (default)

Examples

- name: Install patches
  uyuni_project.uyuni.install_patches:
    uyuni_host: 192.168.1.1
    uyuni_user: admin
    uyuni_password: admin
    name: server.localdomain.loc
    exclude_patches:
      - openSUSE-2022-10013
      - openSUSE-SLE-15.3-2022-2118

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

entity

boolean

State whether patch installation was scheduled successfully

Returned: success

Authors

  • Christian Stankowic (@stdevel)