community / community.general / 0.2.1 / module / swupd Manages updates and bundles in ClearLinux systems. Authors: Alberto Murillo (@albertomurillo)community.general.swupd (0.2.1) — module
Install with ansible-galaxy collection install community.general:==0.2.1
collections: - name: community.general version: 0.2.1
Manages updates and bundles with the swupd bundle manager, which is used by the Clear Linux Project for Intel Architecture.
- name: Update the OS to the latest version swupd: update: yes
- name: Installs the "foo" bundle swupd: name: foo state: present
- name: Removes the "foo" bundle swupd: name: foo state: absent
- name: Check integrity of filesystem swupd: verify: yes
- name: Downgrade OS to release 12920 swupd: verify: yes manifest: 12920
url: description: - Overrides both I(contenturl) and I(versionurl). name: aliases: - bundle description: - Name of the (I)bundle to install or remove. state: choices: - present - absent default: present description: - Indicates the desired (I)bundle state. C(present) ensures the bundle is installed while C(absent) ensures the (I)bundle is not installed. format: description: - The format suffix for version file downloads. For example [1,2,3,staging,etc]. If not specified, the default format is used. update: description: - Updates the OS to the latest version. type: bool verify: description: - Verify content for OS version. type: bool manifest: aliases: - release - version description: - The manifest contains information about the bundles at certain version of the OS. Specify a Manifest version to verify against that version or leave unspecified to verify against the current version. contenturl: description: - URL pointing to the contents of available bundles. If not specified, the contents are retrieved from clearlinux.org. versionurl: description: - URL for version string download.
stderr: description: stderr of swupd returned: always type: str stdout: description: stdout of swupd returned: always type: str