Class: Ansible::Ruby::Modules::Openbsd_pkg
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Openbsd_pkg
- 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
-
#build ⇒ :yes, ...
Build the package from source instead of downloading and installing a binary.
-
#clean ⇒ :yes, ...
When updating or removing packages, delete the extra configuration file(s) in the old packages which are annotated with @extra in the packaging-list.
-
#name ⇒ String
A name or a list of names of the packages.
-
#ports_dir ⇒ String?
When used in combination with the C(build) option, allows overriding the default ports source directory.
-
#quick ⇒ :yes, ...
Replace or delete packages quickly; do not bother with checksums before removing normal files.
-
#state ⇒ :absent, ...
C(present) will make sure the package is installed.
Methods inherited from Base
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.
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.
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/openbsd_pkg.rb', line 28 attribute :clean |
#name ⇒ String
Returns 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_dir ⇒ String?
Returns 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.
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.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/openbsd_pkg.rb', line 16 attribute :state |