Skip to content

Reclass example of a metaless inventory (for AWX debug purposes)

Notifications You must be signed in to change notification settings

Cerebus/reclass_metaless_dyn_inventory

Repository files navigation

Reclass metaless example

Invoke reclass-ansible like so:

reclass-ansible -b <this_directory> --list

or

reclass-ansible -b <this_directory> --host group_one_host_01

AWX_script.sh can be pasted in as a dynamic inventory script.

Differences from metaless_dyn_inventory:

Reclass resolves all groupvars as hostvars, so list output will always use the simpler format containing; i.e., each group key will have only a list of hosts.

Groupvars from the example are properly assigned when --host is given.

About

Reclass example of a metaless inventory (for AWX debug purposes)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages