ansible.posix.rpm_ostree_upgrade module – Manage rpm-ostree upgrade transactions
Note
This module is part of the ansible.posix collection (version 1.5.4).
You might already have this collection installed if you are using the ansible
package.
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 ansible.posix
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: ansible.posix.rpm_ostree_upgrade
.
New in ansible.posix 1.5.0
Synopsis
Manage an rpm-ostree upgrade transactions.
Requirements
The below requirements are needed on the host that executes this module.
rpm-ostree
Parameters
Parameter |
Comments |
---|---|
Allow for the upgrade to be a chronologically older tree. Choices:
|
|
Perform the transaction using only pre-cached data, do not download. Choices:
|
|
The OSNAME upon which to operate. Default: |
|
Force peer-to-peer connection instead of using a system message bus. Choices:
|
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
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The command standard output Returned: always Sample: |