Class: Ansible::Ruby::Modules::Swdepot

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

Overview

Will install, upgrade and remove packages with swdepot package manager (HP-UX)

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

#depotString?

Returns The source repository from which install or upgrade a package.

Returns:

  • (String, nil)

    The source repository from which install or upgrade a package.



20
# File 'lib/ansible/ruby/modules/generated/packaging/os/swdepot.rb', line 20

attribute :depot

#nameString

Returns package name.

Returns:

  • (String)

    package name.



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

attribute :name

#state:present, ...

Returns whether to install (C(present), C(latest)), or remove (C(absent)) a package.

Returns:

  • (:present, :latest, :absent)

    whether to install (C(present), C(latest)), or remove (C(absent)) a package.



16
# File 'lib/ansible/ruby/modules/generated/packaging/os/swdepot.rb', line 16

attribute :state