Skip to content

lantuin/ainventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple ansible playbook to retrieve a complete software asset inventory from your environment. It's compatible with Linux (Debian and Red Hat based), MAC (using system_profiler) and Windows (winRM protocol).

HOSTS file is self-explanatory.

Output files will be written in inventory/ subdirectory in different formats.

$ ansible-playbook playbook.yml -i hosts

LINUX

Use this in hosts linux vars section (if managed machines have python2 and python3)

[linux:vars]
...
ansible_python_interpreter=/usr/bin/python3

About

Ansible asset inventory playbook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published