ansible/test/integration/targets/ansible-doc/noop.output
Felix Fontein a1ece49006
Add integration tests for add_collection_to_versions_and_dates(), and extend ansible-doc tests (#73601)
* Add add_collection_to_versions_and_dates integration tests.

* Add doc fragment tests with fragments from other collections.

* Remove trailing whitespace (Python 2's json.dump inserts some).

* Use ' ' instead of '\s'.
2021-03-24 05:30:57 +10:00

32 lines
1.1 KiB
Text

{
"testns.testcol.noop": {
"doc": {
"author": "Ansible core team",
"collection": "testns.testcol",
"deprecated": {
"alternative": "Use some other lookup",
"removed_from_collection": "testns.testcol",
"removed_in": "3.0.0",
"why": "Test deprecation"
},
"description": [
"this is a noop"
],
"filename": "./collections/ansible_collections/testns/testcol/plugins/lookup/noop.py",
"lookup": "noop",
"options": {},
"short_description": "returns input",
"version_added": "1.0.0",
"version_added_collection": "testns.testcol2"
},
"examples": "\n- name: do nothing\n debug: msg=\"{{ lookup('testns.testcol.noop', [1,2,3,4] }}\"\n",
"metadata": null,
"return": {
"_list": {
"description": "input given",
"version_added": "1.0.0",
"version_added_collection": "testns.testcol"
}
}
}
}