Class: Ansible::Ruby::Modules::Zypper_repository

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:yes, :no, nil)

    Enable autorefresh of the repository.



31
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 31

attribute :autorefresh

#descriptionObject?

Returns A description of the repository.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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).

Returns:

  • (:yes, :no, nil)

    Set repository to enabled (or disabled).



50
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 50

attribute :enabled

#nameString?

Returns A name for the repository. Not required when adding repofiles.

Returns:

  • (String, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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

#priorityObject?

Returns Set priority of repository. Packages will always be installed from the repository with the smallest priority number.,Needs zypper version >= 1.12.25.

Returns:

  • (Object, nil)

    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

#repoString?

Returns URI of the repository or .repo file. Required when state=present.

Returns:

  • (String, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:absent, :present, nil)

    A source string state.



20
# File 'lib/ansible/ruby/modules/generated/packaging/os/zypper_repository.rb', line 20

attribute :state