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

Move inventory files into roles #1402

Merged
merged 1 commit into from
Oct 22, 2019

Conversation

14rcole
Copy link
Contributor

@14rcole 14rcole commented Oct 15, 2019

This PR moves the provider-specific inventory generation logic into each role, and updates the remaining inventory generation logic to search for inventory.py files therein. This allows users to write their own roles without creating a linchpin PR for inventory generation.

I know this is a huge PR, but unfortunately none of it could be broken down into multiple commits. Most of the changes are the result of moving the inventory files into the roles, but because of some necessary updates to things like import paths, git won't show it as just a moved file

@14rcole 14rcole added the rfe label Oct 15, 2019
@14rcole 14rcole added this to the v1.9.0 milestone Oct 15, 2019
@14rcole 14rcole force-pushed the ansible-inventory branch 8 times, most recently from d6c0a57 to f0ba7bd Compare October 16, 2019 19:32
@14rcole
Copy link
Contributor Author

14rcole commented Oct 17, 2019

[test]

2 similar comments
@14rcole
Copy link
Contributor Author

14rcole commented Oct 17, 2019

[test]

@14rcole
Copy link
Contributor Author

14rcole commented Oct 17, 2019

[test]

@14rcole
Copy link
Contributor Author

14rcole commented Oct 17, 2019

@samvarankashyap #1409 is dependent on this

@samvarankashyap
Copy link
Contributor

@14rcole I see the build is failing ...

Copy link
Contributor

@samvarankashyap samvarankashyap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@14rcole
Copy link
Contributor Author

14rcole commented Oct 21, 2019

[test]

@adl-bot
Copy link

adl-bot commented Oct 21, 2019

Signed-off-by: 14rcole <rycole@redhat.com>
@adl-bot
Copy link

adl-bot commented Oct 22, 2019

@14rcole
Copy link
Contributor Author

14rcole commented Oct 22, 2019

[merge]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants