mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-22 00:31:14 +00:00
Fix ec2_facts module by removing stray fail statement
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user