Class: Ansible::Ruby::Modules::Zypper
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Zypper
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/os/zypper.rb
Overview
Manage packages on SUSE and openSUSE using the zypper and rpm tools.
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).
-
#extra_args ⇒ String?
Add additional options to C(zypper) command.,Options should be supplied in a single line as if given in the command line.
-
#extra_args_precommand ⇒ Object?
Add additional global target options to C(zypper).,Options should be supplied in a single line as if given in the command line.
-
#force ⇒ :yes, ...
Adds C(–force) option to I(zypper).
-
#name ⇒ String
Package name C(name) or package specifier or a list of either.,Can include a version like C(name=1.0), C(name>3.4) or C(name<=2.7).
-
#oldpackage ⇒ :yes, ...
Adds C(–oldpackage) option to I(zypper).
-
#state ⇒ :present, ...
C(present) will make sure the package is installed.
-
#type ⇒ :package, ...
The type of package to be operated on.
-
#update_cache ⇒ :yes, ...
Run the equivalent of C(zypper refresh) before the operation.
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
#disable_gpg_check ⇒ :yes, ...
27 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper.rb', line 27 attribute :disable_gpg_check |
#disable_recommends ⇒ :yes, ...
31 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper.rb', line 31 attribute :disable_recommends |
#extra_args ⇒ String?
47 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper.rb', line 47 attribute :extra_args |
#extra_args_precommand ⇒ Object?
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper.rb', line 24 attribute :extra_args_precommand |
#force ⇒ :yes, ...
35 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper.rb', line 35 attribute :force |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper.rb', line 12 attribute :name |
#oldpackage ⇒ :yes, ...
43 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper.rb', line 43 attribute :oldpackage |
#state ⇒ :present, ...
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper.rb', line 16 attribute :state |
#type ⇒ :package, ...
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper.rb', line 20 attribute :type |
#update_cache ⇒ :yes, ...
39 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper.rb', line 39 attribute :update_cache |