Class: Ansible::Ruby::Modules::Zypper_repository
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Zypper_repository
- Defined in:
- lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb
Overview
Add or remove Zypper repositories on SUSE and openSUSE
Instance Method Summary collapse
-
#description ⇒ String?
A description of the repository.
-
#disable_gpg_check ⇒ :yes, ...
Whether to disable GPG signature checking of all packages.
-
#name ⇒ String?
A name for the repository.
-
#overwrite_multiple ⇒ :yes, ...
Overwrite multiple repository entries, if repositories with both name and URL already exist.
-
#priority ⇒ Object?
Set priority of repository.
-
#refresh ⇒ :yes, ...
Enable autorefresh of the repository.
-
#repo ⇒ String?
URI of the repository or .repo file.
-
#state ⇒ :absent, ...
A source string state.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#description ⇒ String?
Returns A description of the repository.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb', line 23 attribute :description |
#disable_gpg_check ⇒ :yes, ...
Returns Whether to disable GPG signature checking of all packages. Has an effect only if state is I(present).,Needs zypper version >= 1.6.2.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb', line 27 attribute :disable_gpg_check |
#name ⇒ String?
Returns A name for the repository. Not required when adding repofiles.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb', line 11 attribute :name |
#overwrite_multiple ⇒ :yes, ...
Returns Overwrite multiple repository entries, if repositories with both name and URL already exist.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb', line 38 attribute :overwrite_multiple |
#priority ⇒ Object?
Returns Set priority of repository. Packages will always be installed from the repository with the smallest priority number.,Needs zypper version >= 1.12.25.
35 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb', line 35 attribute :priority |
#refresh ⇒ :yes, ...
Returns Enable autorefresh of the repository.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb', line 31 attribute :refresh |
#repo ⇒ String?
Returns URI of the repository or .repo file. Required when state=present.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb', line 15 attribute :repo |
#state ⇒ :absent, ...
Returns A source string state.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb', line 19 attribute :state |