1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix security_token typo in ec2 inventory

This commit is contained in:
Jameel Al-Aziz 2014-10-10 15:33:26 -07:00 committed by Abhijit Menon-Sen
parent e7890e66f3
commit 57754b5a71

View file

@ -435,7 +435,7 @@ class Ec2Inventory(object):
''' monkey patch for boto issue boto/boto#2100 '''
profile = 'profile ' + self.boto_profile
if boto.config.has_option(profile, 'aws_security_token'):
connect_args['secuirty_token'] = boto.config.get(profile, 'aws_security_token')
connect_args['security_token'] = boto.config.get(profile, 'aws_security_token')
return connect_args