Dynamic Inventory Support #123

Closed
opened 2021-11-20 13:24:17 +00:00 by ungleich-gitea · 1 comment

Created by: Unterstrichmoepunterstrich

When you use bigger instances, e.g. AWS cloud or you use an IPA server, to maintain your services, it's pretty nice to get all of your information from your IPA server (if possible).
I found this nice python script, which uses the API:

https://gist.github.com/devynspencer/2bcca0a7654168ef454f

and show an JSON output, if you call it.
If you run it with ansible -i freeipa.py all -m uptime you execute uptime on all machines which are online.

What do you think?

*Created by: Unterstrichmoepunterstrich* When you use bigger instances, e.g. AWS cloud or you use an IPA server, to maintain your services, it's pretty nice to get all of your information from your IPA server (if possible). I found this nice python script, which uses the API: https://gist.github.com/devynspencer/2bcca0a7654168ef454f and show an JSON output, if you call it. If you run it with `ansible -i freeipa.py all -m uptime` you execute uptime on all machines which are online. What do you think?
Author
Owner

Created by: telmich

Nothing is stopping you from using cdist config $(tool_that_outputs_names)

*Created by: telmich* Nothing is stopping you from using cdist config $(tool_that_outputs_names)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ungleich-public/cdist#123
No description provided.