Traceback (most recent call last):


 "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 200, in main

return command_table[parsed_args.command](remaining, parsed_args)


 "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 338, in __call__

return command_table[parsed_args.operation](remaining, parsed_globals)


 "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 508, in __call__

call_parameters, parsed_globals)


 "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 627, in invoke

client, operation_name, parameters, parsed_globals)


 "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 639, in _make_client_call

**parameters)


 "/Library/Python/2.7/site-packages/botocore/client.py", line 253, in _api_call

return self._make_api_call(operation_name, kwargs)


 "/Library/Python/2.7/site-packages/botocore/client.py", line 557, in _make_api_call

raise error_class(parsed_response, operation_name)
ClientError: An error occurred (InvalidParameterValue) when calling the ReplaceIamInstanceProfileAssociation operation: Invalid value for associationId.

ec2-**_******.eu-west-1.compute.amazonaws.com | FAILED => Traceback (most recent call last):

 "/usr/lib/pymodules/python2.7/ansible/runner/**init**.py", line 561, in _executor
exec_rc = self._executor_internal(host, new_stdin)

 "/usr/lib/pymodules/python2.7/ansible/runner/__init__.py", line 666, in _executor_internal
return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)

 "/usr/lib/pymodules/python2.7/ansible/runner/__init__.py", line 837, in _executor_internal_inner
conn = self.connector.connect(actual_host, actual_port, actual_user, actual_pass, actual_transport, actual_private_key_file)

 "/usr/lib/pymodules/python2.7/ansible/runner/connection.py", line 34, in connect
self.active = conn.connect()

 "/usr/lib/pymodules/python2.7/ansible/runner/connection_plugins/winrm.py", line 132, in connect
self.protocol = self._winrm_connect()

 "/usr/lib/pymodules/python2.7/ansible/runner/connection_plugins/winrm.py", line 90, in _winrm_connect
err_msg = str(exc.args[0])IndexError: tuple index out of range