1 #!powershell 2 3 # Copyright (c) 2020 Ansible Project 4 # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) 5 6 #AnsibleRequires -CSharpUtil Ansible.Basic 7 #AnsibleRequires -PowerShell ..module_utils.PSUtil 8 9 $spec = @{ 10 options = @{ 11 my_opt = @{ type = "str"; required = $true } 12 } 13 } 14 15 $module = [Ansible.Basic.AnsibleModule]::Create($args, $spec, @(Get-PSUtilSpec)) 16 $module.ExitJson() 17