community.general.atomic_host (8.5.0) — module

Manage the atomic host platform

Authors: Saravanan KR (@krsacme)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

Manage the atomic host platform.

Rebooting of Atomic host platform should be done outside this module.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Upgrade the atomic host platform to the latest version (atomic host upgrade)
  community.general.atomic_host:
    revision: latest
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Deploy a specific revision as the atomic host (atomic host deploy 23.130)
  community.general.atomic_host:
    revision: 23.130

Inputs

    
revision:
    aliases:
    - version
    default: latest
    description:
    - The version number of the atomic host to be deployed.
    - Providing V(latest) will upgrade to the latest available version.
    type: str

Outputs

msg:
  description: The command standard output
  returned: always
  sample: Already on latest
  type: str