Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See if there's a less-verbose way of invoking a lookup plugin from a collection #22

artis3n opened this issue Oct 23, 2019 · 0 comments · Fixed by #33


Copy link

@artis3n artis3n commented Oct 23, 2019

According to the docs, you can use the collections keyword to import a collection into a playbook to then use roles or modules by their name, but plugins must be the absolute name.

This means to use this plugin you must call

lookup('artis3n.github_version.github_version', 'ansible/ansible')

which is much too verbose. Wait and see what it looks like in a week with Ansible 2.9's official release. In the worst case, at least change the name of the collection so it makes more sense. Maybe artis3n.plugins.github_version or artis3n.github.release_version.

@artis3n artis3n added the question label Oct 23, 2019
@artis3n artis3n added this to To do in Kanban via automation Oct 23, 2019
@artis3n artis3n moved this from To do to In progress in Kanban Nov 9, 2019
@artis3n artis3n closed this in #33 Nov 10, 2019
Kanban automation moved this from In progress to Done Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.