win_psexec: Change default for -nobanner (#24739)
* win_psexec: Change default for -nobanner * Update documentation too
This commit is contained in:
parent
4fb283a4e3
commit
6b7d669a2b
2 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,7 @@ $username = Get-AnsibleParam -obj $params -name "username" -type "str"
|
||||||
$password = Get-AnsibleParam -obj $params -name "password" -type "str"
|
$password = Get-AnsibleParam -obj $params -name "password" -type "str"
|
||||||
$chdir = Get-AnsibleParam -obj $params -name "chdir" -type "path"
|
$chdir = Get-AnsibleParam -obj $params -name "chdir" -type "path"
|
||||||
$wait = Get-AnsibleParam -obj $params -name "wait" -type "bool" -default $true
|
$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
|
$noprofile = Get-AnsibleParam -obj $params -name "noprofile" -type "bool" -default $false
|
||||||
$elevated = Get-AnsibleParam -obj $params -name "elevated" -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
|
$limited = Get-AnsibleParam -obj $params -name "limited" -type "bool" -default $false
|
||||||
|
|
|
@ -58,7 +58,8 @@ options:
|
||||||
nobanner:
|
nobanner:
|
||||||
description:
|
description:
|
||||||
- Do not display the startup banner and copyright message.
|
- 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' ]
|
choices: [ 'no', 'yes' ]
|
||||||
version_added: '2.4'
|
version_added: '2.4'
|
||||||
noprofile:
|
noprofile:
|
||||||
|
|
Loading…
Reference in a new issue