I am trying to run the EC2 dynamic script in Ansible. But it is showing me the below error.
file "/usr/local/lib/python3.6/site-packages/boto/connection.py", line 569, in __init__ host, config, self.provider, self._required_auth_capability()) file "/usr/local/lib/python3.6/site-packages/boto/auth.py", line 1021, in get_auth_handler 'check your credentials' % (len(names), str(names))) boto.exception.noauthhandlerfound: no handler was ready to authenticate. 1 handlers were checked. ['hmacauthv4handler'] check your credentials
Error Message: "No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials"