community.general.swupd – Manages updates and bundles in ClearLinux systems.
community.general.swupd – Manages updates and bundles in ClearLinux systems.
Note
This plugin is part of the community.general collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.swupd
.
Synopsis
- Manages updates and bundles with the swupd bundle manager, which is used by the Clear Linux Project for Intel Architecture.
Parameters
Parameter | Choices/Defaults | Comments |
---|---|---|
contenturl string |
URL pointing to the contents of available bundles. If not specified, the contents are retrieved from clearlinux.org. | |
format string |
The format suffix for version file downloads. For example [1,2,3,staging,etc]. If not specified, the default format is used. | |
manifest integer |
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.
| |
name string |
Name of the (I)bundle to install or remove.
| |
state string |
|
Indicates the desired (I)bundle state. |
update boolean |
|
Updates the OS to the latest version. |
url string |
Overrides both contenturl and versionurl. | |
verify boolean |
|
Verify content for OS version. |
versionurl string |
URL for version string download. |
Examples
- name: Update the OS to the latest version
community.general.swupd:
update: yes
- name: Installs the "foo" bundle
community.general.swupd:
name: foo
state: present
- name: Removes the "foo" bundle
community.general.swupd:
name: foo
state: absent
- name: Check integrity of filesystem
community.general.swupd:
verify: yes
- name: Downgrade OS to release 12920
community.general.swupd:
verify: yes
manifest: 12920
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
stderr string |
always |
stderr of swupd
|
stdout string |
always |
stdout of swupd
|
Authors
- Alberto Murillo (@albertomurillo)
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/general/swupd_module.html