mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Powershell module_utils loader and tests (#26932)
* supports custom module_utils loads (anything in module prefaced with `#Requires -Module Ansible.ModuleUtils.*`) * supports all usual PluginLoader module_utils locations (built-in lib/ansible/module_utils/, custom path from config, playbook module_utils/, ~/.ansible/module_utils, role module_utils, etc), * moves Powershell module_utils from module_utils/powershell.ps1 to module_utils/powershell/Ansible.ModuleUtils.PowerShellLegacy.psm1
This commit is contained in:
parent
37e757286d
commit
907b662dc6
12 changed files with 84 additions and 7 deletions
|
@ -0,0 +1,3 @@
|
|||
Function CustomFunction {
|
||||
return "ValueFromCustomFunction"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue