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:
parent
3b79a36641
commit
a689e42d32
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