diff --git a/test/integration/targets/connection_psrp/tests.yml b/test/integration/targets/connection_psrp/tests.yml index 08832b144cf..3f45ff1b884 100644 --- a/test/integration/targets/connection_psrp/tests.yml +++ b/test/integration/targets/connection_psrp/tests.yml @@ -126,3 +126,16 @@ path: /tmp/empty.txt state: absent delegate_to: localhost + + - name: Test PSRP HTTP connection + win_ping: + vars: + ansible_port: 5985 + ansible_psrp_protocol: http + + - name: Test PSRP HTTPS connection + win_ping: + vars: + ansible_port: 5986 + ansible_psrp_protocol: https + ansible_psrp_cert_validation: ignore diff --git a/test/integration/targets/connection_winrm/tests.yml b/test/integration/targets/connection_winrm/tests.yml index 3a117fe7ee8..9ef7682be88 100644 --- a/test/integration/targets/connection_winrm/tests.yml +++ b/test/integration/targets/connection_winrm/tests.yml @@ -42,6 +42,20 @@ that: - timeout_cmd.msg == 'The win_shell action failed to execute in the expected time frame (5) and was terminated' + - name: Test WinRM HTTP connection + win_ping: + vars: + ansible_port: 5985 + ansible_winrm_scheme: http + ansible_winrm_transport: ntlm # Verifies message encryption over HTTP + + - name: Test WinRM HTTPS connection + win_ping: + vars: + ansible_port: 5986 + ansible_winrm_scheme: https + ansible_winrm_server_cert_validation: ignore + - name: get WinRM quota value win_shell: (Get-Item WSMan:\localhost\Service\MaxConcurrentOperationsPerUser).Value changed_when: false