"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/ansible/modules/cloud/amazon/ec2_instance.py" between
ansible-2.7.6.tar.gz and ansible-2.7.7.tar.gz

About: Ansible is a platform for configuring and managing computers combining multi-node software deployment, ad hoc task execution, and configuration management.

ec2_instance.py  (ansible-2.7.6):ec2_instance.py  (ansible-2.7.7)
skipping to change at line 857 skipping to change at line 857
spec['PrivateIpAddress'] = network['private_ip_address'] spec['PrivateIpAddress'] = network['private_ip_address']
if params.get('security_group') or params.get('security_groups'): if params.get('security_group') or params.get('security_groups'):
groups = discover_security_groups( groups = discover_security_groups(
group=params.get('security_group'), group=params.get('security_group'),
groups=params.get('security_groups'), groups=params.get('security_groups'),
subnet_id=spec['SubnetId'], subnet_id=spec['SubnetId'],
ec2=ec2 ec2=ec2
) )
spec['Groups'] = [g['GroupId'] for g in groups] spec['Groups'] = [g['GroupId'] for g in groups]
if network.get('description') is not None:
spec['Description'] = network['description']
# TODO more special snowflake network things # TODO more special snowflake network things
return [spec] return [spec]
# handle list of `network.interfaces` options # handle list of `network.interfaces` options
for idx, interface_params in enumerate(network.get('interfaces', [])): for idx, interface_params in enumerate(network.get('interfaces', [])):
spec = { spec = {
'DeviceIndex': idx, 'DeviceIndex': idx,
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)