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

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

Overview

Adds or removes (rpm –import) a gpg key to your rpm database.

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

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



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

attribute :key

#state:absent, ...

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

Returns:

  • (:absent, :present, nil)

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



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

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.



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

attribute :validate_certs