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

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

#dataString?

Returns keyfile contents.

Returns:

  • (String, nil)

    keyfile contents



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

attribute :data

#fileString?

Returns keyfile path.

Returns:

  • (String, nil)

    keyfile path



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

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.



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

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



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

attribute :keyring

#keyserverString?

Returns keyserver to retrieve key from.

Returns:

  • (String, nil)

    keyserver to retrieve key from.



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

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



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

attribute :state

#urlString?

Returns url to retrieve key from.

Returns:

  • (String, nil)

    url to retrieve key from.



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

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.



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

attribute :validate_certs