Class: Ansible::Ruby::Modules::Openbsd_pkg

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #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

#buildBoolean?

Returns Build the package from source instead of downloading and installing a binary. Requires that the port source tree is already installed. Automatically builds and installs the ‘sqlports’ package, if it is not already installed.

Returns:

  • (Boolean, nil)

    Build the package from source instead of downloading and installing a binary. Requires that the port source tree is already installed. Automatically builds and installs the ‘sqlports’ package, if it is not already installed.



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

attribute :build

#nameString

Returns Name of the package.

Returns:

  • (String)

    Name of the package.



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

attribute :name

#ports_dirString?

Returns When used in combination with the ‘build’ option, allows overriding the default ports source directory.

Returns:

  • (String, nil)

    When used in combination with the ‘build’ option, allows overriding the default ports source directory.



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

attribute :ports_dir

#state:present, ...

Returns C(present) will make sure the package is installed. C(latest) will make sure the latest version of the package is installed. C(absent) will make sure the specified package is not installed.

Returns:

  • (:present, :latest, :absent)

    C(present) will make sure the package is installed. C(latest) will make sure the latest version of the package is installed. C(absent) will make sure the specified package is not installed.



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

attribute :state