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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb

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



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

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.



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

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.



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

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.



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

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.



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

attribute :priority

#refresh:yes, ...

Returns Enable autorefresh of the repository.

Returns:

  • (:yes, :no, nil)

    Enable autorefresh of the repository.



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

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.



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

attribute :repo

#state:absent, ...

Returns A source string state.

Returns:

  • (:absent, :present, nil)

    A source string state.



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

attribute :state