netbox-community / ansible_modules

NetBox modules for Ansible using Ansible Collections
GNU General Public License v3.0
309 stars 199 forks source link

[Docs]: Remove extra parenthesis in documentation for netbox.netbox.nb_lookup #1127

Open etigui opened 7 months ago

etigui commented 7 months ago

Change Type

Cleanup (formatting, typos, etc.)

Area

Other

Proposed Changes

There are an extra parenthesis after the "Dell":

I you blindly copy the code associated, you will get:

fatal: [localhost]: FAILED! => {"msg": "template error while templating string: expected token 'end of print statement', got '='. String: {{ query('netbox.netbox.nb_lookup', 'tag', api_endpoint='<endpoint>', api_filter='role=management tag=Dell'), token='<token>') }}. expected token 'end of print statement', got '='"}
sc68cal commented 7 months ago

Yep. Push a new PR fixing it and i'll 👍