Add option to the inventory plugin to retrieve a list of ansible roles enabled within foreman#1444
Open
stuwilkins wants to merge 2 commits intotheforeman:developfrom
Open
Add option to the inventory plugin to retrieve a list of ansible roles enabled within foreman#1444stuwilkins wants to merge 2 commits intotheforeman:developfrom
stuwilkins wants to merge 2 commits intotheforeman:developfrom
Conversation
Member
|
This repository contains so much more than just the inventory plugin. Please drop the name of the component somewhere in the title of this issue and the commit messages. |
Added option to inventory plugin to pull the list of ansible roles defined by foreman for a given host. The list of ansible roles are stored in the foreman_roles variable.
Rename inventory plugin variable to be foreman_ansible_roles to be consistent with how thw variable is defined for plays within foreman.
8480835 to
fbf288c
Compare
Author
|
@mdellweg Thanks for the prompt reply, and thanks for the work on this collection, we use much more than just the plugin but I added this to help with using Tower and Foreman together. I changed the commit messages and also the PR. Please let me know if you need anything else. |
Member
|
That is much better now. And i hope people more familiar with the inventory than me will be triggered by this. ;) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addition to the inventory plugin pulls the defined ansible roles from foreman and sets the variable
foreman_ansible_rolesThe option is set via the
wants_ansible_rolessetting.