mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-02 16:48:56 +00:00
ansible-test: make the httptester for Windows more resiliant around the shell chosen (#51416)
This commit is contained in:
parent
ce898bfde5
commit
ce8db479f0
2 changed files with 8 additions and 7 deletions
|
|
@ -9,13 +9,14 @@ Run this with SSH with the -R arguments to foward ports 8080 and 8443 to the
|
|||
httptester container.
|
||||
|
||||
.PARAMETER Hosts
|
||||
A list of hostnames to add to the Windows hosts file for the httptester
|
||||
container.
|
||||
A list of hostnames, delimited by '|', to add to the Windows hosts file for the
|
||||
httptester container, e.g. 'ansible.host.com|secondary.host.test'.
|
||||
#>
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[Parameter(Mandatory=$true, Position=0)][String[]]$Hosts
|
||||
[Parameter(Mandatory=$true, Position=0)][String]$Hosts
|
||||
)
|
||||
$Hosts = $Hosts.Split('|')
|
||||
|
||||
$ProgressPreference = "SilentlyContinue"
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue