Class: Ansible::Ruby::Modules::Rpm_key
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rpm_key
- 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
-
#key ⇒ String
Key that will be modified.
-
#state ⇒ :absent, ...
If the key will be imported or removed from the rpm db.
-
#validate_certs ⇒ :yes, ...
If C(no) and the C(key) is a url starting with https, SSL certificates will not be validated.
Methods inherited from Base
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
#key ⇒ String
Returns 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.
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.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/rpm_key.rb', line 20 attribute :validate_certs |