house cleaning based on code review

This commit is contained in:
Rick Mendes 2015-05-06 08:50:14 -07:00
parent 2007345c4b
commit ce1b3d257c

View file

@ -13,14 +13,10 @@ options:
description: description:
- The instance id to get the password data from. - The instance id to get the password data from.
required: true required: true
default: null
aliases: []
key_file: key_file:
description: description:
- path to the file containing the key pair used on the instance - path to the file containing the key pair used on the instance
required: true required: true
default: null
aliases: []
region: region:
description: 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. - 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" key_file: "~/aws-creds/my_test_key.pem"
''' '''
import sys
from base64 import b64decode from base64 import b64decode
from os.path import expanduser from os.path import expanduser
from Crypto.Cipher import PKCS1_v1_5 from Crypto.Cipher import PKCS1_v1_5