You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($PSCmdlet.ParameterSetName-like'Dockerfile_*')
362
365
{
363
-
if (-not$Silent.IsPresent)
366
+
if (-not$Silent.IsPresent-and$VerbosePreference-eq'SilentlyContinue')
364
367
{
365
-
Write-Host'> Building container image from specified Dockerfile...'
368
+
Write-Host"> Building container image from specified Dockerfile...`r"-NoNewline
366
369
}
367
370
Invoke-DockerProcess-Command 'build'-ArgumentList '-t',$ContainerImage,'-f',$Dockerfile,$dockerfilePath-ErrorMessage "The Docker build of the Dockerfile '$Dockerfile' failed."
368
371
}
369
372
else
370
373
{
371
-
if (-not$Silent.IsPresent)
374
+
if (-not$Silent.IsPresent-and$VerbosePreference-eq'SilentlyContinue')
372
375
{
373
-
Write-Host'> Pulling container image from remote registry...'
376
+
Write-Host"> Pulling container image from remote registry...`r"-NoNewline
374
377
}
375
378
Invoke-DockerProcess-Command 'pull'-ArgumentList $ContainerImage-ErrorMessage "The Docker pull of the container image '$ContainerImage' failed."
376
379
}
@@ -380,11 +383,17 @@ function Start-AnsibleCtl
380
383
381
384
if (-not$Silent.IsPresent)
382
385
{
383
-
Write-Host'> Start ansiblectl container with mounted volumes...'
386
+
Write-Host''
387
+
Write-Host'ANSIBLE CONTROL NODE'-ForegroundColor 'Magenta'
0 commit comments