community.general/lib/ansible/modules/cloud
Will Thames 5900fee67a Fix ec2_snapshot_facts for python3
Avoid the following seen when running ec2_ami tests on python3,
presumably because the return type of `map` is different between
python2 and python3.

```
Traceback (most recent call last):
  File "/tmp/ansible_e44v27uj/ansible_module_ec2_snapshot_facts.py", line 242, in <module>
    main()
  File "/tmp/ansible_e44v27uj/ansible_module_ec2_snapshot_facts.py", line 238, in main
    list_ec2_snapshots(connection, module)
  File "/tmp/ansible_e44v27uj/ansible_module_ec2_snapshot_facts.py", line 193, in list_ec2_snapshots
    snapshots = connection.describe_snapshots(SnapshotIds=snapshot_ids, OwnerIds=owner_ids, RestorableByUserIds=restorable_by_user_ids, Filters=filters)
  File "/usr/local/lib/python3.5/dist-packages/botocore/client.py", line 312, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/usr/local/lib/python3.5/dist-packages/botocore/client.py", line 575, in _make_api_call
    api_params, operation_model, context=request_context)
  File "/usr/local/lib/python3.5/dist-packages/botocore/client.py", line 630, in _convert_to_request_dict
    api_params, operation_model)
  File "/usr/local/lib/python3.5/dist-packages/botocore/validate.py", line 291, in serialize_to_request
    raise ParamValidationError(report=report.generate_report())
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid type for parameter OwnerIds, value: <map object at 0x7ff577511048>, type: <class 'map'>, valid types: <class 'list'>, <class 'tuple'>
```

https://github.com/ansible/ansible/pull/30435#issuecomment-330750498
2017-09-27 20:38:39 -07:00
..
amazon Fix ec2_snapshot_facts for python3 2017-09-27 20:38:39 -07:00
atomic Update metadata to 1.1 2017-08-15 23:12:08 -07:00
azure Feature to Specify AZURE blob storage type (#30660) 2017-09-22 10:17:00 -07:00
centurylink Fix trailing space in ec2_vol example, fix 'the the' typos (#28440) 2017-08-19 23:00:51 +02:00
cloudscale fix pep8 for cloudscale_server (#30974) 2017-09-27 11:39:02 -04:00
cloudstack cs_volume: fix CloudStackException dependency (#30389) 2017-09-15 20:40:28 +02:00
digital_ocean digital_ocean_sshkey doc refinement and removal of unused import (#28960) 2017-09-11 19:44:06 -04:00
dimensiondata Add a code-smell test for smart quotes and remove smart quotes from all files 2017-09-18 16:49:16 -07:00
docker [fix] issue #29886 - it misses oom_killer in host_config_params (#30712) 2017-09-25 20:42:02 -04:00
google Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
linode linode: PEP8 compliancy and doc fixes (#30922) 2017-09-26 09:48:08 -04:00
lxc lxc_container: open files as text, fixes #30571 (#30572) 2017-09-27 20:32:45 -07:00
lxd Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
misc virt: PEP8 compliancy and doc fixes (#30917) 2017-09-27 22:37:54 -04:00
openstack os_image: Add checksum based glance image manipulation (#27107) 2017-09-17 15:19:58 +02:00
ovh Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ovirt ovirt_vms: Fix the logout condition (#30410) 2017-09-19 08:27:09 +02:00
packet Improvements in the packet_device module (#23127) 2017-08-22 06:43:37 -07:00
profitbricks Update metadata to 1.1 2017-08-15 23:12:08 -07:00
pubnub Update metadata to 1.1 2017-08-15 23:12:08 -07:00
rackspace Enable more pylint rules and fix reported issues. (#30539) 2017-09-18 23:20:32 -07:00
smartos PEP8 fixes for smartos module 2017-08-30 12:53:50 -07:00
softlayer Correct sl_vm documentation (#29433) 2017-09-14 09:21:32 +10:00
univention Update metadata to 1.1 2017-08-15 23:12:08 -07:00
vmware Remove extra space in string comp 2017-09-27 20:27:42 +02:00
webfaction Update metadata to 1.1 2017-08-15 23:12:08 -07:00
__init__.py package files 2016-12-08 11:22:22 -05:00