From cebe64ac0cd97a9a7d32f799352b75dfb24597a8 Mon Sep 17 00:00:00 2001 From: Wojciech Sciesinski Date: Tue, 20 Nov 2018 21:14:18 +0100 Subject: [PATCH] Add a missed command (#48857) adds command to set the environment for the hacking script --- .../docsite/rst/dev_guide/developing_modules_general_windows.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docsite/rst/dev_guide/developing_modules_general_windows.rst b/docs/docsite/rst/dev_guide/developing_modules_general_windows.rst index fb7d00a495a..df39c8b7108 100644 --- a/docs/docsite/rst/dev_guide/developing_modules_general_windows.rst +++ b/docs/docsite/rst/dev_guide/developing_modules_general_windows.rst @@ -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 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``. - 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.