diff options
author | Jordan Borean <jborean93@gmail.com> | 2019-01-09 10:28:03 +1000 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2019-01-09 14:51:22 -0800 |
commit | 3ff477d14f54ff433d8ec7fe10a6dd0c962450a7 (patch) | |
tree | f7a474760cbca98cdddc3f57aeadbc6984116b40 | |
parent | 34809f2b0288f623379da8873e11388e02d6f244 (diff) | |
download | ansible-3ff477d14f54ff433d8ec7fe10a6dd0c962450a7.tar.gz |
win_psexec: added the pid return value to the docs (#50664)
(cherry picked from commit 13a2a8b5f6b9be7bd899e87f2651f62a89d40ba7)
-rw-r--r-- | lib/ansible/modules/windows/win_psexec.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ansible/modules/windows/win_psexec.py b/lib/ansible/modules/windows/win_psexec.py index 166238204f..15074d0499 100644 --- a/lib/ansible/modules/windows/win_psexec.py +++ b/lib/ansible/modules/windows/win_psexec.py @@ -147,6 +147,11 @@ cmd: returned: always type: string 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 |