ansible.posix.rpm_ostree_upgrade (1.5.4) — module

Manage rpm-ostree upgrade transactions

| "added in version" 1.5.0 of ansible.posix"

Authors: Adam Miller (@maxamillion)

preview | supported by community

Install collection

Install with ansible-galaxy collection install ansible.posix:==1.5.4


Add to requirements.yml

  collections:
    - name: ansible.posix
      version: 1.5.4

Description

Manage an rpm-ostree upgrade transactions.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Upgrade the rpm-ostree image without options, accept all defaults
  ansible.posix.rpm_ostree_upgrade:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Upgrade the rpm-ostree image allowing downgrades
  ansible.posix.rpm_ostree_upgrade:
    allow_downgrade: true

Inputs

    
os:
    default: ''
    description:
    - The OSNAME upon which to operate.
    required: false
    type: str

peer:
    default: false
    description:
    - Force peer-to-peer connection instead of using a system message bus.
    required: false
    type: bool

cache_only:
    default: false
    description:
    - Perform the transaction using only pre-cached data, do not download.
    required: false
    type: bool

allow_downgrade:
    default: false
    description:
    - Allow for the upgrade to be a chronologically older tree.
    required: false
    type: bool

Outputs

msg:
  description: The command standard output
  returned: always
  sample: No upgrade available.
  type: str