mirror of
https://github.com/ansible/ansible
synced 2026-06-19 07:35:52 +00:00
1071baca60
* Add support for PowerShell modules on POSIX Adds support for running modules written in PowerShell on non-Windows hosts. This includes references to a PowerShell or C# module_util located in Ansible or a collection. Not all module utils will work outside of Windows but `Ansible.Basic` will do so. Support for PowerShell modules on non-Windows is up to the module and collection author. This PR just enables the ability to run them through the existing PowerShell execution wrapper. * Fix up sanity and unit tests, try and run in separate CI group * Fix up powershell.sh group detection * More sanity fixes * More sanity fixes * Ensure shebang is part of command to run * Try and simplify exec module logic * Attempt to get powershell group running in CI * Fix up test integration aliases for powershell * Remove ansible.windows collection for integration support * Revert the win_powershell changes now they aren't needed * Simplify test matrix and use default container