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

Fix ec2_facts module by removing stray fail statement

This commit is contained in:
Michael DeHaan 2014-03-11 19:14:43 -04:00
parent 3b79a36641
commit a689e42d32

View file

@ -70,7 +70,6 @@ class Ec2Metadata(object):
self._prefix = 'ansible_ec2_%s'
def _fetch(self, url):
self.module.fail_json(msg="url is %s" % url)
(response, info) = fetch_url(self.module, url, force=True)
return response.read()