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

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

Overview

Manage packages on OpenBSD using the pkg tools.

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

#build:yes, ...

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:

  • (:yes, :no, 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.



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

attribute :build

#clean:yes, ...

Returns When updating or removing packages, delete the extra configuration file(s) in the old packages which are annotated with @extra in the packaging-list.

Returns:

  • (:yes, :no, nil)

    When updating or removing packages, delete the extra configuration file(s) in the old packages which are annotated with @extra in the packaging-list.



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

attribute :clean

#nameString

Returns A name or a list of names of the packages.

Returns:

  • (String)

    A name or a list of names of the packages.



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

attribute :name

#ports_dirString?

Returns When used in combination with the C(build) option, allows overriding the default ports source directory.

Returns:

  • (String, nil)

    When used in combination with the C(build) option, allows overriding the default ports source directory.



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

attribute :ports_dir

#quick:yes, ...

Returns Replace or delete packages quickly; do not bother with checksums before removing normal files.

Returns:

  • (:yes, :no, nil)

    Replace or delete packages quickly; do not bother with checksums before removing normal files.



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

attribute :quick

#state:absent, ...

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:

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

    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.



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

attribute :state