quinot / ansible-plugin-lookup_ldap

Ansible LDAP lookup plugin
50 stars 16 forks source link

ldap_search formatting error #35

Open Kieranwalsh23 opened 4 years ago

Kieranwalsh23 commented 4 years ago

I have placed the ldap_search.py plugin in the ansible/plugins/lookup directory (along with the other lookup plugins). When I run 'ansible-doc -t lookup -l' to view all available lookup plugins, I receive the following error.

[WARNING]: ldap_search has a documentation formatting error [WARNING]: ldap_search parsing did t produce documentation

I am worried that this error has effected more than just the documentation. When I try to use this plugin within a task, I receive an error stating that the task does no action. I am fairly new to ldap, so I wanted to start off with a basic task and use the example that was found within the ldap_search.py plugin.

Here is the example that was included in the plugin: EXAMPLES = r"""

I have replaced the values of the example to match what I need, but still receive the error that the task does no action. Has anyone received these errors/warnings before?