Skip to content

Create an ansible dynamic inventory from an environment variable

Notifications You must be signed in to change notification settings

lotaris-xx/inv_from_env

Repository files navigation

inv_from_env

Create an ansible dynamic inventory from an environment variable

Sometime you wnat per-job invnetories. Here is one method of creating them simply taking advantage of the fact you can set an environment variable for an inventory source and use an inventory plugin to read that variable and create a simple host inventory from it.

About

Create an ansible dynamic inventory from an environment variable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages