diff options
author | Mario Lenz <m@riolenz.de> | 2022-05-10 17:22:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 11:22:24 -0400 |
commit | 9923e92d978e6b0d85f4df7df12d2eca3817e23f (patch) | |
tree | 28b0bb6b2513d2d1130e437c1951e952d5b9dbfe /docs/docsite/rst/dev_guide | |
parent | 97e574fe6ea7a73ef8e42140e8be32c8cdbcaece (diff) | |
download | ansible-9923e92d978e6b0d85f4df7df12d2eca3817e23f.tar.gz |
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>
Diffstat (limited to 'docs/docsite/rst/dev_guide')
-rw-r--r-- | docs/docsite/rst/dev_guide/developing_plugins.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/docsite/rst/dev_guide/developing_plugins.rst b/docs/docsite/rst/dev_guide/developing_plugins.rst index e6529075da..a24f39727b 100644 --- a/docs/docsite/rst/dev_guide/developing_plugins.rst +++ b/docs/docsite/rst/dev_guide/developing_plugins.rst @@ -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: |