Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

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

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

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
Labels
question Further information is requested
Projects

Comments

@artis3n
Copy link
Owner

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 Further information is requested 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
Kanban automation moved this from In progress to Done Nov 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
Kanban
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant