Class: Ansible::Ruby::Modules::Apt_key
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Apt_key
- Defined in:
- lib/ansible/ruby/modules/generated/core/packaging/os/apt_key.rb
Overview
Add or remove an I(apt) key, optionally downloading it
Instance Method Summary collapse
-
#data ⇒ String?
Keyfile contents.
-
#file ⇒ String?
Keyfile path.
-
#id ⇒ String?
Identifier of key.
-
#keyring ⇒ String?
Path to specific keyring file in /etc/apt/trusted.gpg.d.
-
#keyserver ⇒ String?
Keyserver to retrieve key from.
-
#state ⇒ :absent, ...
Used to specify if key is being added or revoked.
-
#url ⇒ String?
Url to retrieve key from.
-
#validate_certs ⇒ :yes, ...
If C(no), SSL certificates for the target url 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
#data ⇒ String?
Returns keyfile contents.
15 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_key.rb', line 15 attribute :data |
#file ⇒ String?
Returns keyfile path.
19 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_key.rb', line 19 attribute :file |
#id ⇒ String?
Returns identifier of key. Including this allows check mode to correctly report the changed state.
11 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_key.rb', line 11 attribute :id |
#keyring ⇒ String?
Returns path to specific keyring file in /etc/apt/trusted.gpg.d.
23 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_key.rb', line 23 attribute :keyring |
#keyserver ⇒ String?
Returns keyserver to retrieve key from.
31 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_key.rb', line 31 attribute :keyserver |
#state ⇒ :absent, ...
Returns used to specify if key is being added or revoked.
35 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_key.rb', line 35 attribute :state |
#url ⇒ String?
Returns url to retrieve key from.
27 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_key.rb', line 27 attribute :url |
#validate_certs ⇒ :yes, ...
Returns If C(no), SSL certificates for the target url will not be validated. This should only be used on personally controlled sites using self-signed certificates.
39 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_key.rb', line 39 attribute :validate_certs |