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/packaging/os/zypper_repository.rb
Overview
Add or remove Zypper repositories on SUSE and openSUSE
Instance Method Summary collapse
-
#auto_import_keys ⇒ :yes, ...
Automatically import the gpg signing key of the new or changed repository.,Has an effect only if state is I(present).
-
#autorefresh ⇒ :yes, ...
Enable autorefresh of the repository.
-
#description ⇒ Object?
A description of the repository.
-
#disable_gpg_check ⇒ :yes, ...
Whether to disable GPG signature checking of all packages.
-
#enabled ⇒ :yes, ...
Set repository to enabled (or disabled).
-
#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.
-
#repo ⇒ String?
URI of the repository or .repo file.
-
#runrefresh ⇒ :yes, ...
Refresh the package list of the given repository.,Can be used with repo=* to refresh all repositories.
-
#state ⇒ :absent, ...
A source string state.
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
#auto_import_keys ⇒ :yes, ...
Returns Automatically import the gpg signing key of the new or changed repository.,Has an effect only if state is I(present). Has no effect on existing (unchanged) repositories or in combination with I(absent).,Implies runrefresh.,Only works with C(.repo) files if ‘name` is given explicitly.
42 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 42 attribute :auto_import_keys |
#autorefresh ⇒ :yes, ...
Returns Enable autorefresh of the repository.
31 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 31 attribute :autorefresh |
#description ⇒ Object?
Returns A description of the repository.
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 24 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/packaging/os/zypper_repository.rb', line 27 attribute :disable_gpg_check |
#enabled ⇒ :yes, ...
Returns Set repository to enabled (or disabled).
50 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 50 attribute :enabled |
#name ⇒ String?
Returns A name for the repository. Not required when adding repofiles.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 12 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/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/packaging/os/zypper_repository.rb', line 35 attribute :priority |
#repo ⇒ String?
Returns URI of the repository or .repo file. Required when state=present.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 16 attribute :repo |
#runrefresh ⇒ :yes, ...
Returns Refresh the package list of the given repository.,Can be used with repo=* to refresh all repositories.
46 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 46 attribute :runrefresh |
#state ⇒ :absent, ...
Returns A source string state.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 20 attribute :state |