From 13a2a8b5f6b9be7bd899e87f2651f62a89d40ba7 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Wed, 9 Jan 2019 10:28:03 +1000 Subject: [PATCH] win_psexec: added the pid return value to the docs (#50664) --- lib/ansible/modules/windows/win_psexec.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ansible/modules/windows/win_psexec.py b/lib/ansible/modules/windows/win_psexec.py index d38af881479..c3fc37e4a60 100644 --- a/lib/ansible/modules/windows/win_psexec.py +++ b/lib/ansible/modules/windows/win_psexec.py @@ -149,6 +149,11 @@ cmd: returned: always type: str sample: psexec.exe -nobanner \\remote_server -u "DOMAIN\Administrator" -p "some_password" -accepteula E:\setup.exe +pid: + description: The PID of the async process created by PsExec. + returned: when C(wait=False) + type: int + sample: 1532 rc: description: The return code for the command. returned: always