diff --git a/changelogs/fragments/sanity_fix.yaml b/changelogs/fragments/sanity_fix.yaml new file mode 100644 index 0000000..5251281 --- /dev/null +++ b/changelogs/fragments/sanity_fix.yaml @@ -0,0 +1,3 @@ +--- +trivial: + - fix validate-module sanity tests. diff --git a/plugins/lookup/get_path.py b/plugins/lookup/get_path.py index 3b8ac8c..fb9349e 100644 --- a/plugins/lookup/get_path.py +++ b/plugins/lookup/get_path.py @@ -15,7 +15,6 @@ __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 ce1ecad..f584a32 100644 --- a/plugins/lookup/index_of.py +++ b/plugins/lookup/index_of.py @@ -15,7 +15,6 @@ __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: @@ -27,6 +26,7 @@ DOCUMENTATION = """ data: description: A list of items to enumerate and test against. type: list + elements: raw required: True test: description: > diff --git a/plugins/lookup/to_paths.py b/plugins/lookup/to_paths.py index 0b0fec5..c8b72ab 100644 --- a/plugins/lookup/to_paths.py +++ b/plugins/lookup/to_paths.py @@ -15,7 +15,6 @@ __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 2fe1fa3..1d54b18 100644 --- a/plugins/lookup/validate.py +++ b/plugins/lookup/validate.py @@ -10,7 +10,6 @@ __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: