Class: Ansible::Ruby::Modules::Ec2_win_password

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/ec2_win_password.rb

Overview

Gets the default administrator password from any EC2 Windows instance. The instance is referenced by its id (e.g. C(i-XXXXXXX)). This module has a dependency on python-boto.

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

#instance_idString

Returns The instance id to get the password data from.

Returns:

  • (String)

    The instance id to get the password data from.



12
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_win_password.rb', line 12

attribute :instance_id

#key_fileString

Returns Path to the file containing the key pair used on the instance.

Returns:

  • (String)

    Path to the file containing the key pair used on the instance.



16
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_win_password.rb', line 16

attribute :key_file

#key_passphraseString?

Returns The passphrase for the instance key pair. The key must use DES or 3DES encryption for this module to decrypt it. You can use openssl to convert your password protected keys if they do not use DES or 3DES. ex) C(openssl rsa -in current_key -out new_key -des3).

Returns:

  • (String, nil)

    The passphrase for the instance key pair. The key must use DES or 3DES encryption for this module to decrypt it. You can use openssl to convert your password protected keys if they do not use DES or 3DES. ex) C(openssl rsa -in current_key -out new_key -des3).



20
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_win_password.rb', line 20

attribute :key_passphrase

#wait:yes, ...

Returns Whether or not to wait for the password to be available before returning.

Returns:

  • (:yes, :no, nil)

    Whether or not to wait for the password to be available before returning.



24
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_win_password.rb', line 24

attribute :wait

#wait_timeoutInteger?

Returns Number of seconds to wait before giving up.

Returns:

  • (Integer, nil)

    Number of seconds to wait before giving up.



28
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_win_password.rb', line 28

attribute :wait_timeout