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

Add support for separate resources to assign individual host or group vars. #18

Merged
merged 3 commits into from
May 20, 2019

Conversation

nbering
Copy link
Owner

@nbering nbering commented May 19, 2019

Closes #4.

A large portion of this feature will need to be handled in the inventory script, as it will need to be merged into the final inventory json.

A priority level may need to be added to the resource to help the inventory script determine value precedence if there are multiple resources with the same inventory_hostname and key. It would seem reasonable that this could happen when using terraform module structures, which can be somewhat inflexible once implemented, and wanting to override a variable in a specific case.

@nbering nbering self-assigned this May 19, 2019
@nbering
Copy link
Owner Author

nbering commented May 20, 2019

This is probably enough work for one weekend. Will open a new issue for the priority property idea. More work needs to be done with the inventory script before I can support it anyway.

@nbering nbering merged commit 650ac79 into master May 20, 2019
@nbering nbering deleted the individual-vars branch May 20, 2019 10:07
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Separate host and group variables resources.
1 participant