diff --git a/changelogs/fragments/ansible-doc.yaml b/changelogs/fragments/ansible-doc.yaml new file mode 100644 index 0000000..ba0bba0 --- /dev/null +++ b/changelogs/fragments/ansible-doc.yaml @@ -0,0 +1,3 @@ +--- +trivial: + - add missing plugin_type for lookup plugins. diff --git a/plugins/lookup/get_path.py b/plugins/lookup/get_path.py index fb9349e..3b8ac8c 100644 --- a/plugins/lookup/get_path.py +++ b/plugins/lookup/get_path.py @@ -15,6 +15,7 @@ __metaclass__ = type DOCUMENTATION = """ name: get_path author: Bradley Thornton (@cidrblock) + plugin_type: lookup version_added: "1.0.0" short_description: Retrieve the value in a variable using a path description: diff --git a/plugins/lookup/index_of.py b/plugins/lookup/index_of.py index 74080b3..ce1ecad 100644 --- a/plugins/lookup/index_of.py +++ b/plugins/lookup/index_of.py @@ -15,6 +15,7 @@ __metaclass__ = type DOCUMENTATION = """ name: index_of author: Bradley Thornton (@cidrblock) + plugin_type: lookup version_added: "1.0.0" short_description: Find the indices of items in a list matching some criteria description: diff --git a/plugins/lookup/to_paths.py b/plugins/lookup/to_paths.py index c8b72ab..0b0fec5 100644 --- a/plugins/lookup/to_paths.py +++ b/plugins/lookup/to_paths.py @@ -15,6 +15,7 @@ __metaclass__ = type DOCUMENTATION = """ name: to_paths author: Bradley Thornton (@cidrblock) + plugin_type: lookup version_added: "1.0.0" short_description: Flatten a complex object into a dictionary of paths and values description: diff --git a/plugins/lookup/validate.py b/plugins/lookup/validate.py index 5ac7c73..09f615b 100644 --- a/plugins/lookup/validate.py +++ b/plugins/lookup/validate.py @@ -10,6 +10,7 @@ __metaclass__ = type DOCUMENTATION = """ name: validate author: Ganesh Nalawade (@ganeshrn) + plugin_type: lookup version_added: "1.0.0" short_description: Validate data with provided criteria description: