Typo
Remove typo from when I recently was testing logic for also having an include state.
This commit is contained in:
parent
627179b79e
commit
3e5a33f106
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ def main():
|
||||||
for instance in [i for r in reservations for i in r.instances]:
|
for instance in [i for r in reservations for i in r.instances]:
|
||||||
if instance.private_ip_address != None:
|
if instance.private_ip_address != None:
|
||||||
instance.hostname = 'ip-' + instance.private_ip_address.replace('.', '-')
|
instance.hostname = 'ip-' + instance.private_ip_address.replace('.', '-')
|
||||||
if instance._state.name not in module.params.get('ignore_state') and :
|
if instance._state.name not in module.params.get('ignore_state'):
|
||||||
server_info.append(todict(instance))
|
server_info.append(todict(instance))
|
||||||
except:
|
except:
|
||||||
print module.jsonify('error getting instances from: ' + region.name)
|
print module.jsonify('error getting instances from: ' + region.name)
|
||||||
|
|
Loading…
Reference in a new issue