Class: Ansible::Ruby::Modules::Swupd

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/packaging/os/swupd.rb

Overview

Manages updates and bundles with the swupd bundle manager, which is used by the Clear Linux Project for Intel Architecture.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#contenturlObject?

Returns URL pointing to the contents of available bundles. If not specified, the contents are retrieved from clearlinux.org.

Returns:

  • (Object, nil)

    URL pointing to the contents of available bundles. If not specified, the contents are retrieved from clearlinux.org.



12
# File 'lib/ansible/ruby/modules/generated/packaging/os/swupd.rb', line 12

attribute :contenturl

#formatObject?

Returns The format suffix for version file downloads. For example [1,2,3,staging,etc]. If not specified, the default format is used.

Returns:

  • (Object, nil)

    The format suffix for version file downloads. For example [1,2,3,staging,etc]. If not specified, the default format is used.



15
# File 'lib/ansible/ruby/modules/generated/packaging/os/swupd.rb', line 15

attribute :format

#manifestInteger?

Returns The manifest contains information about the bundles at certaion version of the OS. Specify a Manifest version to verify against that version or leave unspecified to verify against the current version.

Returns:

  • (Integer, nil)

    The manifest contains information about the bundles at certaion version of the OS. Specify a Manifest version to verify against that version or leave unspecified to verify against the current version.



18
# File 'lib/ansible/ruby/modules/generated/packaging/os/swupd.rb', line 18

attribute :manifest

#nameString?

Returns Name of the (I)bundle to install or remove.

Returns:

  • (String, nil)

    Name of the (I)bundle to install or remove.



22
# File 'lib/ansible/ruby/modules/generated/packaging/os/swupd.rb', line 22

attribute :name

#state:present, ...

Returns Indicates the desired (I)bundle state. C(present) ensures the bundle is installed while C(absent) ensures the (I)bundle is not installed.

Returns:

  • (:present, :absent, nil)

    Indicates the desired (I)bundle state. C(present) ensures the bundle is installed while C(absent) ensures the (I)bundle is not installed.



26
# File 'lib/ansible/ruby/modules/generated/packaging/os/swupd.rb', line 26

attribute :state

#updateBoolean?

Returns Updates the OS to the latest version.

Returns:

  • (Boolean, nil)

    Updates the OS to the latest version.



30
# File 'lib/ansible/ruby/modules/generated/packaging/os/swupd.rb', line 30

attribute :update

#urlObject?

Returns Overrides both I(contenturl) and I(versionurl).

Returns:

  • (Object, nil)

    Overrides both I(contenturl) and I(versionurl).



34
# File 'lib/ansible/ruby/modules/generated/packaging/os/swupd.rb', line 34

attribute :url

#verifyBoolean?

Returns Verify content for OS version.

Returns:

  • (Boolean, nil)

    Verify content for OS version.



37
# File 'lib/ansible/ruby/modules/generated/packaging/os/swupd.rb', line 37

attribute :verify

#versionurlObject?

Returns URL for version string download.

Returns:

  • (Object, nil)

    URL for version string download.



41
# File 'lib/ansible/ruby/modules/generated/packaging/os/swupd.rb', line 41

attribute :versionurl