ansible/test/integration/targets/ansible-doc/noop.output
Brian Coca bec27fb4c0
prettyfy ansible-doc (#75116)
* prettify ansibile-doc output

delimiters when no color
avoid triggering color mode for existing tests
all use _format to observe nocolor
more v more info
imporoved conditional display
updated version on -v
normalize role errors
expand role data, dedupe code, fix formatting on warning
fix bug with galaxy info
role list improvements:
 lists all roles (even w/o meta/argspec)
 specs now indented under role
 role only listed once
Updated tests to reflect format changes

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-01-29 10:16:53 -05:00

34 lines
1.1 KiB
Plaintext

{
"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": {},
"plugin_name": "testns.testcol.noop",
"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"
}
}
}
}