Setting up a Windows Host — Ansible Documentation
docs.ansible.com › ansible › latestDec 21, 2021 · Port: The port the listener runs on, by default it is 5985 for HTTP and 5986 for HTTPS. This port can be changed to whatever is required and corresponds to the host var ansible_port. URLPrefix: The URL prefix to listen on, by default it is wsman. If this is changed, the host var ansible_winrm_path must be set to the same value.
How to Configure WinRM over HTTPS for Ansible
adamtheautomator.com › ansible-winrmJul 02, 2020 · Create the Ansible WinRm Listener. Once you’ve created both certificates, you must now create a WinRm listener on the Windows host. This listener begins listening on port 5986 for incoming connections. Once created, this listener accepts incoming connections and will attempt to encrypt data using the server certificate created above.