Configure WinRM on Windows runner (Ansible)

I am trying to run an Ansible playbook against the Windows actions runner. I am attempting to setup the runner with the WinRM instructions here: https://docs.ansible.com/ansible/latest/user_guide/windows_setup.html#winrm-setup

However, I get the error:

Unable to establish an HTTP or HTTPS remoting session.
At C:\Users\runneradmin\AppData\Local\Temp\ConfigureRemotingForAnsible.ps1:451 char:5
+     Throw "Unable to establish an HTTP or HTTPS remoting session."
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Unable to estab...moting session.:String) [], RuntimeException
    + FullyQualifiedErrorId : Unable to establish an HTTP or HTTPS remoting session.
 
Error: Process completed with exit code 1.

I am now a Windows developer so not really sure what to do about this. Don’t see much useful info on the internet about resolving this - is the runner behind some proxy and I need to configure proxy settings? Is it possible to set up an HTTP or HTTPS WinRM listener so I can test an Ansible playbook against the Windows runner as a Windows host target?

The error can be found in my workflow output here: https://github.com/artis3n/ansible-role-tailscale/pull/63/checks?check_run_id=1386876514#step:8:13

My workflow steps are defined here: https://github.com/artis3n/ansible-role-tailscale/pull/63/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR69