Fix plugin dev examples (#77759)

* Fix plugin dev examples

* Update docs/docsite/rst/dev_guide/developing_plugins.rst

Co-authored-by: Felix Fontein <felix@fontein.de>
pull/77775/head
Mario Lenz 4 years ago committed by GitHub
parent 97e574fe6e
commit 9923e92d97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -225,7 +225,7 @@ but with an extra option so you can see how configuration works in Ansible versi
# not only visible to ansible-doc, it also 'declares' the options the plugin requires and how to configure them.
DOCUMENTATION = '''
callback: timer
name: timer
callback_type: aggregate
requirements:
- enable in configuration
@ -357,8 +357,8 @@ Here's a simple lookup plugin implementation --- this lookup returns the content
__metaclass__ = type
DOCUMENTATION = """
lookup: file
author: Daniel Hokka Zakrisson <daniel@hozac.com>
name: file
author: Daniel Hokka Zakrisson (@dhozac) <daniel@hozac.com>
version_added: "0.9" # for collections, use the collection version, not the Ansible version
short_description: read file contents
description:

Loading…
Cancel
Save