blob: 6ec04393b9dde1ba89473fcd705eec96b1d02b2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!powershell
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#AnsibleRequires -CSharpUtil Ansible.Basic
throw "test inner error message"
$module = [Ansible.Basic.AnsibleModule]::Create($args, @{
options = @{
test = @{ type = 'str'; choices = @('foo', 'bar'); default = 'foo' }
}
})
$module.Result.test = 'abc'
$module.ExitJson()
|