ansible/test/integration/targets/xml/tasks
Dag Wieers 2ef0946370
Warn on incorrect use of parameter, and remove fix for now (#54336)
* Fix wrong example, remove strictness and fix tests

It was obvious that (because of an incorrect example) people were using
the **xml** module incorrectly, specifying the `attribute` parameter
where it was not supported (i.e. ignored).

While this functionality would have been useful, it currently returns as
if the information was requested from the parent, so we cannot simply
make it to what would be expected.

Therefor the real solution is to provide a warning when we find
incorrect use, and deprecate this use. Then later we could implement
this functionality correctly.

While troubleshooting this issue, I found that in some cases our
integration tests were not being run when we expected it.

This fixes #53459

* Change warning

* Fix weird sanity test error

* Add a comment to the deprecate-test
2019-03-29 15:13:19 +01:00
..
main.yml
test-add-children-elements-unicode.yml
test-add-children-elements.yml
test-add-children-from-groupvars.yml
test-add-children-insertafter.yml
test-add-children-insertbefore.yml
test-add-children-with-attributes-unicode.yml
test-add-children-with-attributes.yml
test-add-element-implicitly.yml
test-add-namespaced-children-elements.yml
test-children-elements-xml.yml
test-count-unicode.yml
test-count.yml
test-get-element-content-unicode.yml
test-get-element-content.yml
test-mutually-exclusive-attributes.yml
test-pretty-print-only.yml
test-pretty-print.yml
test-remove-attribute.yml
test-remove-element.yml
test-remove-namespaced-attribute.yml
test-remove-namespaced-element.yml
test-set-attribute-value-unicode.yml
test-set-attribute-value.yml
test-set-children-elements-level.yml
test-set-children-elements-unicode.yml
test-set-children-elements.yml
test-set-element-value-empty.yml
test-set-element-value-unicode.yml
test-set-element-value.yml
test-set-namespaced-attribute-value.yml
test-set-namespaced-children-elements.yml
test-set-namespaced-element-value.yml
test-xmlstring.yml