Add a missed command (#48857)
adds command to set the environment for the hacking script
This commit is contained in:
parent
e1fbd54ebb
commit
cebe64ac0c
1 changed files with 1 additions and 0 deletions
|
@ -502,6 +502,7 @@ environment, and configure a test inventory for Ansible to connect to.
|
||||||
In this example we will set up a test inventory to connect to two hosts and run the integration
|
In this example we will set up a test inventory to connect to two hosts and run the integration
|
||||||
tests for win_stat:
|
tests for win_stat:
|
||||||
|
|
||||||
|
- 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.
|
||||||
- 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.
|
||||||
|
|
Loading…
Reference in a new issue