Ansible & AWS ec2-instance-connect - cannot SSH


Hello, has anyone ever used AWS ec2-instance-connect with Ansible to connect to servers, using a ProxyCommand in ansible_ssh_common_args ? I cannot get Ansible to SSH to the server. When I run the straight aws command from the ansible server, connects fine.

Full details in pastebin links below, but some small context:

Playbook Task:

- name: Create tomcat group
  become: true
    name: tomcat
    gid: 2001
    state: present

group_vars settings:

ansible_user: ansible
ansible_ssh_private_key_file: /opt/ansible/keys/ansible.pem
ansible_ssh_common_args: '-o ProxyCommand="aws ec2-instance-connect ssh --region us-east-1 --instance-id {{ instance_id }} --os-user {{ ansible_user }} --private-key-file {{ ansible_ssh_private_key_file }}"'


    -bash: line 1: $'SSH-2.0-OpenSSH_8.7\r': command not found
    Connection timed out during banner exchange
    Connection to UNKNOWN port 65535 timed out

Full Details:
Ansible Version / Playbook / group_vars settings: Ansible Version / Playbook / group_vars -

Playbook error (-vvvv ): Create Tomcat Group Error - -vvvv Results -

Successful connection using just the Proxy Command / aws call: AWS ec2-instance-connect -

Any help is much appreciated.