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

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

Methods inherited from Base

#ansible_name, #to_h

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

#descriptionString?

Returns A description of the repository.

Returns:

  • (String, nil)

    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.

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/extras/packaging/os/zypper_repository.rb', line 27

attribute :disable_gpg_check

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



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.

Returns:

  • (:yes, :no, nil)

    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

#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/extras/packaging/os/zypper_repository.rb', line 35

attribute :priority

#refresh:yes, ...

Returns Enable autorefresh of the repository.

Returns:

  • (:yes, :no, nil)

    Enable autorefresh of the repository.



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

attribute :refresh

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



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

attribute :repo

#state:absent, ...

Returns A source string state.

Returns:

  • (:absent, :present, nil)

    A source string state.



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

attribute :state