Skip to content

A collection of scripts to build ansible inventories

Notifications You must be signed in to change notification settings

saxx0n/inventory_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

This is a (soon to be) collection of inventory generating scripts, based on upstream providers.

ProxMox:

  • This was built and tested against AAP 4.4, but should work against AWX of a similar version. It does NOT require additional modules and works with the out-of-the-box EE.
  • It will create inventory-groups based on ProxMox tags, stripping out any numbers and adding "_servers" to the end of them.
    • "Ubuntu24.04" will become "ubuntu_servers" for example
  • It can be run via AAP, or from the CLI, and has the abilty to source creds either from your local env, or via passed arguemnts
    • run with --help for full argument list
  • To use:
    • Create a new credentail of type "Red Hat Ansible Automation Platform" and put your proxmox details into it (We are abusing it to pass credentails). You should NOT be using the root user, as show in the below screenshot. image
    • Create a new inventory source with the following values (adjust value as needed to match your environment image

About

A collection of scripts to build ansible inventories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages