Class: Ansible::Ruby::Modules::Ec2_win_password
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_win_password
- 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
-
#instance_id ⇒ String
The instance id to get the password data from.
-
#key_file ⇒ String
Path to the file containing the key pair used on the instance.
-
#key_passphrase ⇒ String?
The passphrase for the instance key pair.
-
#wait ⇒ :yes, ...
Whether or not to wait for the password to be available before returning.
-
#wait_timeout ⇒ Integer?
Number of seconds to wait before giving up.
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
#instance_id ⇒ String
Returns 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_file ⇒ String
Returns 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_passphrase ⇒ String?
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).
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.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_win_password.rb', line 24 attribute :wait |
#wait_timeout ⇒ Integer?
Returns 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 |