uyuni_project.uyuni.apply_highstate module – Apply a host’s highstate

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.apply_highstate.

Synopsis

  • Apply a host’s highstate

Parameters

Parameter

Comments

name

string / required

Name or profile ID of the managed host

test_mode

boolean

Only simulate applying the highstate

Choices:

  • false ← (default)

  • true

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: Apply highstate
  uyuni_project.uyuni.apply_highstate:
    uyuni_host: 192.168.1.1
    uyuni_user: admin
    uyuni_password: admin
    name: server.localdomain.loc

- name: Simulate applying highstate
  uyuni_project.uyuni.apply_highstate:
    uyuni_host: 192.168.1.1
    uyuni_user: admin
    uyuni_password: admin
    name: server.localdomain.loc
    test_mode: true

Return Values

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

Key

Description

entity

boolean

State whether highstate was scheduled successfully

Returned: success

Authors

  • Christian Stankowic (@stdevel)