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_downgrade boolean | Allow for the upgrade to be a chronologically older tree. Choices:
|
cache_only boolean | Perform the transaction using only pre-cached data, do not download. Choices:
|
os string | The OSNAME upon which to operate. Default: |
peer boolean | 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 |
---|---|
msg string | The command standard output Returned: always Sample: |
Collection links
© 2012–2018 Michael DeHaan
© 2018–2024 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/ansible/posix/rpm_ostree_upgrade_module.html