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
New inventory plugin #1231
New inventory plugin #1231
Conversation
62b10ae
to
36725f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@t-woerner
Thank you for the pull request.
In the example playbook, the "address" variable is used instead of "server." Kindly update it accordingly.
0782c4d
to
9c51295
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes LGTM
README.md
Outdated
Inventory plugins in plugin/inventory | ||
===================================== | ||
|
||
* [freeipa](README-inventory-plugin-freeipa.md) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last line is related to modules and not the inventory plugin.
Either this section is moved after it, or a new section "Writing new modules" is added here.
The inventory plugin compiles a dynamic inventory from IPA domain, filters servers by role(s). Usage: Create yml file, for example `freeipa.yml`: --- plugin: freeipa server: server.ipa.local ipaadmin_password: SomeADMINpassword verify: ca.crt Get compiled inventory: ansible-inventory -i freeipa.yml --graph
This fixes a bad tests if offline is not set: utils/build-galaxy-release.sh: line 130: [: -ne: unary operator expected
9c51295
to
f17f83d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
The inventory plugin compiles a dynamic inventory from IPA domain, filters servers by role(s).
Usage:
Create yml file, for example
freeipa.yml
:Get compiled inventory: