Skip to content

rpm_ostree_upgrade

Collection Note

This module is part of the ansible.posix collection. To install the collection, use:

ansible-galaxy collection install ansible.posix
Added in version 1.5.0.

You need further requirements to be able to use this module, see the Requirements section for details.

Synopsis

  • Manage an rpm-ostree upgrade transactions.

Requirements

The following Python packages are needed on the host that executes this module:

Parameters

Parameter Defaults / Choices Comments
allow_downgrade
bool
Allow for the upgrade to be a chronologically older tree.
cache_only
bool
Perform the transaction using only pre-cached data, do not download.
os
str
The OSNAME upon which to operate.
peer
bool
Force peer-to-peer connection instead of using a system message bus.

Examples

- name: Upgrade the rpm-ostree image without options, accept all defaults
  ansible.posix.rpm_ostree_upgrade:

- name: Upgrade the rpm-ostree image allowing downgrades
  ansible.posix.rpm_ostree_upgrade:
    allow_downgrade: true

Return Values

Key Data Type Description Returned
msg str The command standard output always

Authors

  • Adam Miller (@maxamillion)