mirror of https://github.com/ansible/ansible.git
script inventory plugin correct error message (#85765)
type was reflecting 'converted' type, not 'pre conversion' of the data now message points at specific data keys add deprecation testspull/85871/head
parent
43bb87107d
commit
c87dc6ed7d
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- script inventory plugin will now show correct 'incorrect' type when doing implicit conversions on groups.
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo '{
|
||||||
|
"good_group": {
|
||||||
|
"vars": {
|
||||||
|
"test1": "value1",
|
||||||
|
"test2": "value2"
|
||||||
|
},
|
||||||
|
"hosts": ["example1", "example2"]
|
||||||
|
},
|
||||||
|
"bad_group": "should be list",
|
||||||
|
"_meta": {}
|
||||||
|
}'
|
||||||
Loading…
Reference in New Issue