|
|
|
@ -508,6 +508,7 @@ tests for win_stat:
|
|
|
|
- Run the command ``source ./hacking/env-setup`` to prepare environment.
|
|
|
|
- Run the command ``source ./hacking/env-setup`` to prepare environment.
|
|
|
|
- Create a copy of ``./test/integration/inventory.winrm.template`` and name it ``inventory.winrm``.
|
|
|
|
- Create a copy of ``./test/integration/inventory.winrm.template`` and name it ``inventory.winrm``.
|
|
|
|
- Fill in entries under ``[windows]`` and set the required variables that are needed to connect to the host.
|
|
|
|
- Fill in entries under ``[windows]`` and set the required variables that are needed to connect to the host.
|
|
|
|
|
|
|
|
- :ref:`Install the required Python modules <windows_winrm>` to support WinRM and a configured authentication method.
|
|
|
|
- To execute the integration tests, run ``ansible-test windows-integration win_stat``; you can replace ``win_stat`` with the role you wish to test.
|
|
|
|
- To execute the integration tests, run ``ansible-test windows-integration win_stat``; you can replace ``win_stat`` with the role you wish to test.
|
|
|
|
|
|
|
|
|
|
|
|
This will execute all the tests currently defined for that role. You can set
|
|
|
|
This will execute all the tests currently defined for that role. You can set
|
|
|
|
|