1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-26 16:25:06 +03:00

Missed ErrorAction in the params

This commit is contained in:
Jordan Borean 2021-03-24 12:21:50 +10:00
parent 1b6cfd803c
commit b222f10d68
No known key found for this signature in database
GPG Key ID: 2AAC89085FBBDAB5

View File

@ -70,6 +70,7 @@ $invoke_params = @{
Body = (ConvertTo-Json $data)
Uri = "$tower_url/api/v2/job_templates/$job_template_id/callback/"
UseBasicParsing = $true
ErrorAction = 'Stop'
}
$invoke_command = Get-Command -Name Invoke-WebRequest