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/extras/packaging/os/openbsd_pkg.rb
Instance Method Summary collapse
-
#build ⇒ Boolean?
Build the package from source instead of downloading and installing a binary.
-
#name ⇒ String
Name of the package.
-
#ports_dir ⇒ String?
When used in combination with the ‘build’ option, allows overriding the default ports source directory.
-
#state ⇒ :present, ...
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, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#build ⇒ Boolean?
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.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/openbsd_pkg.rb', line 18 attribute :build |
#name ⇒ String
Returns Name of the package.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/openbsd_pkg.rb', line 10 attribute :name |
#ports_dir ⇒ String?
Returns 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.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/openbsd_pkg.rb', line 14 attribute :state |