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, ...
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/openbsd_pkg.rb', line 20 attribute :build |
#clean ⇒ :yes, ...
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/openbsd_pkg.rb', line 28 attribute :clean |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/openbsd_pkg.rb', line 12 attribute :name |
#ports_dir ⇒ String?
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/openbsd_pkg.rb', line 24 attribute :ports_dir |
#quick ⇒ :yes, ...
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/openbsd_pkg.rb', line 32 attribute :quick |
#state ⇒ :absent, ...
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/openbsd_pkg.rb', line 16 attribute :state |