mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Fix up request tower ps script SUMMARY Fixes the request_tower_configuration.ps1 script with the following: Added PowerShell 6+ support, can now run on Linux Removes the uneeded strict and ErrorActionPreference settings which could impact the global settings Enables TLS 1.2 support on Windows PowerShell Fixes -insecure handling for certificates Works across ps versions Original didn't actually work (at least in my testing) Hopefully doesn't impact the global state Fixes IE not loaded error on Windows PowerShell when running on a new profile Changes the encoding to UTF-8 (no BOM) and made it executable Can now be invoked on Linux like ./request_tower_configuration.ps1 ... There are no non-ASCII chars in the script so this won't matter on Windows Fixes #9434 ISSUE TYPE Bugfix Pull Request COMPONENT NAME Tools AWX VERSION N/A Reviewed-by: Ryan Petrello <None>