Class: Ansible::Ruby::Modules::Apt_key

Inherits:
Base show all
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

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

#dataString?

Returns keyfile contents.

Returns:

  • (String, nil)

    keyfile contents



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

attribute :data

#fileString?

Returns keyfile path.

Returns:

  • (String, nil)

    keyfile path



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

attribute :file

#idString?

Returns identifier of key. Including this allows check mode to correctly report the changed state.

Returns:

  • (String, nil)

    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

#keyringString?

Returns path to specific keyring file in /etc/apt/trusted.gpg.d.

Returns:

  • (String, nil)

    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

#keyserverString?

Returns keyserver to retrieve key from.

Returns:

  • (String, nil)

    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.

Returns:

  • (:absent, :present, nil)

    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

#urlString?

Returns url to retrieve key from.

Returns:

  • (String, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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