1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

win_psexec: Change default for -nobanner (#24739)

* win_psexec: Change default for -nobanner

* Update documentation too
This commit is contained in:
Dag Wieers 2017-05-18 09:25:38 +02:00 committed by John R Barker
parent 4fb283a4e3
commit 6b7d669a2b
2 changed files with 3 additions and 2 deletions

View file

@ -30,7 +30,7 @@ $username = Get-AnsibleParam -obj $params -name "username" -type "str"
$password = Get-AnsibleParam -obj $params -name "password" -type "str"
$chdir = Get-AnsibleParam -obj $params -name "chdir" -type "path"
$wait = Get-AnsibleParam -obj $params -name "wait" -type "bool" -default $true
$nobanner = Get-AnsibleParam -obj $params -name "nobanner" -type "bool" -default $true
$nobanner = Get-AnsibleParam -obj $params -name "nobanner" -type "bool" -default $false
$noprofile = Get-AnsibleParam -obj $params -name "noprofile" -type "bool" -default $false
$elevated = Get-AnsibleParam -obj $params -name "elevated" -type "bool" -default $false
$limited = Get-AnsibleParam -obj $params -name "limited" -type "bool" -default $false

View file

@ -58,7 +58,8 @@ options:
nobanner:
description:
- Do not display the startup banner and copyright message.
default: 'yes'
- This only works for specific versions of the PsExec binary.
default: 'no'
choices: [ 'no', 'yes' ]
version_added: '2.4'
noprofile: