Class: Ansible::Ruby::Modules::Pkg5

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

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

Constructor Details

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

Instance Method Details

#accept_licensesBoolean?

Returns Accept any licences.

Returns:

  • (Boolean, nil)

    Accept any licences.



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

attribute :accept_licenses

#nameArray<String>, String

Returns An FRMI of the package(s) to be installed/removed/updated.,Multiple packages may be specified, separated by C(,).

Returns:

  • (Array<String>, String)

    An FRMI of the package(s) to be installed/removed/updated.,Multiple packages may be specified, separated by C(,).



10
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkg5.rb', line 10

attribute :name

#state:present, ...

Returns Whether to install (I(present), I(latest)), or remove (I(absent)) a package.

Returns:

  • (:present, :latest, :absent, nil)

    Whether to install (I(present), I(latest)), or remove (I(absent)) a package.



14
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkg5.rb', line 14

attribute :state