Class: Ansible::Ruby::Modules::Zypper
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Zypper
- Defined in:
- lib/ansible/ruby/modules/generated/extras/packaging/os/zypper.rb
Instance Method Summary collapse
-
#disable_gpg_check ⇒ :yes, ...
Whether to disable to GPG signature checking of the package signature being installed.
-
#disable_recommends ⇒ :yes, ...
Corresponds to the C(–no-recommends) option for I(zypper).
-
#name ⇒ String
Package name or package specifier with version C(name) or C(name-1.0).
-
#state ⇒ :present, ...
C(present) will make sure the package is installed.
-
#type ⇒ :package, ...
The type of package to be operated on.
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
#disable_gpg_check ⇒ :yes, ...
Returns Whether to disable to GPG signature checking of the package signature being installed. Has an effect only if state is I(present) or I(latest).
22 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper.rb', line 22 attribute :disable_gpg_check |
#disable_recommends ⇒ :yes, ...
Returns Corresponds to the C(–no-recommends) option for I(zypper). Default behavior (C(yes)) modifies zypper’s default behavior; C(no) does install recommended packages.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper.rb', line 26 attribute :disable_recommends |
#name ⇒ String
Returns package name or package specifier with version C(name) or C(name-1.0). You can also pass a url or a local path to a rpm file.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper.rb', line 10 attribute :name |
#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/zypper.rb', line 14 attribute :state |
#type ⇒ :package, ...
Returns The type of package to be operated on.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper.rb', line 18 attribute :type |