2021-01-15 07:24:53 +00:00
|
|
|
[CmdletBinding()]param(
|
|
|
|
[Parameter(mandatory)]
|
|
|
|
[string]$RemotePath,
|
2021-05-05 21:57:09 +00:00
|
|
|
[switch]$RawOutput,
|
2021-01-15 07:24:53 +00:00
|
|
|
[string[]]$Remotes = 'All'
|
|
|
|
)
|
|
|
|
|
2021-05-05 21:57:09 +00:00
|
|
|
Invoke-ViaAnsible -Command "cd $RemotePath",'Write-Output "$PWD `t"','git pull' -Remotes:$($Remotes.ToLower()) -RawOutput:$RawOutput
|
2021-01-15 07:24:53 +00:00
|
|
|
|
2020-11-01 04:55:38 +00:00
|
|
|
|