diff options
author | Andrea Tartaglia <andrea@braingap.uk> | 2019-02-01 13:19:33 +0000 |
---|---|---|
committer | John R Barker <john@johnrbarker.com> | 2019-02-01 13:19:33 +0000 |
commit | b8790abcbeebfca27e1841b89850d8fe96b53fd9 (patch) | |
tree | 4c6ae04be191069790c01a68b88682813abeb1ce /lib | |
parent | beb2af83c16294bac949c64d29cdb7e61a2c15ac (diff) | |
download | ansible-b8790abcbeebfca27e1841b89850d8fe96b53fd9.tar.gz |
Added description to single net interface (#51602)
* Added description to single net interface
* ec2_instance single iface description changelog
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ansible/modules/cloud/amazon/ec2_instance.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ansible/modules/cloud/amazon/ec2_instance.py b/lib/ansible/modules/cloud/amazon/ec2_instance.py index 0b23f4cd50..81ec8bfb5a 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_instance.py +++ b/lib/ansible/modules/cloud/amazon/ec2_instance.py @@ -926,6 +926,8 @@ def build_network_spec(params, ec2=None): ec2=ec2 ) 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 return [spec] |