Fix ec2_facts module by removing stray fail statement
This commit is contained in:
parent
bc8ebb69bf
commit
367ec22597
1 changed files with 0 additions and 1 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue