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 bc8ebb69bf
commit 367ec22597

View file

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