From ce1b3d257c87efea16af6f83c3a8eb828e695c70 Mon Sep 17 00:00:00 2001 From: Rick Mendes Date: Wed, 6 May 2015 08:50:14 -0700 Subject: [PATCH] house cleaning based on code review --- cloud/amazon/ec2_win_password.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cloud/amazon/ec2_win_password.py b/cloud/amazon/ec2_win_password.py index ee795d5b62a..33a6ae7f947 100644 --- a/cloud/amazon/ec2_win_password.py +++ b/cloud/amazon/ec2_win_password.py @@ -13,14 +13,10 @@ options: description: - The instance id to get the password data from. required: true - default: null - aliases: [] key_file: description: - path to the file containing the key pair used on the instance required: true - default: null - aliases: [] region: description: - The AWS region to use. Must be specified if ec2_url is not used. If not specified then the value of the EC2_REGION environment variable, if any, is used. @@ -42,7 +38,6 @@ tasks: key_file: "~/aws-creds/my_test_key.pem" ''' -import sys from base64 import b64decode from os.path import expanduser from Crypto.Cipher import PKCS1_v1_5