Class: Ansible::Ruby::Modules::Rpm_key

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/packaging/os/rpm_key.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

#keyString

Returns Key that will be modified. Can be a url, a file, or a keyid if the key already exists in the database.

Returns:

  • (String)

    Key that will be modified. Can be a url, a file, or a keyid if the key already exists in the database.



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

attribute :key

#state:present, ...

Returns Wheather the key will be imported or removed from the rpm db.

Returns:

  • (:present, :absent, nil)

    Wheather the key will be imported or removed from the rpm db.



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

attribute :state

#validate_certs:yes, ...

Returns If C(no) and the C(key) is a url starting with https, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.

Returns:

  • (:yes, :no, nil)

    If C(no) and the C(key) is a url starting with https, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.



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

attribute :validate_certs