Skip to content

rishabhdas/dmidecode-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dmidecode-ansible

Extending Ansible, dmidecode module for ansible collects system information
such as BIOS specs, Processor specs and System specs and returns results in
JSON. This uses dmidecode Python API and Ansible Python API.

Usage:

  • Add remote machine IP to 'remote' section in hosts
  • Play the ansible playbook
$ ansible-playbook -i hosts dmidecode.yaml

pydmidecode.py - API Implementation

  • Run ansible playbook programatically using Ansible Python API
  • Render hosts file at runtime using jinja2 template
$ python pydmidecode.py

About

Extending Ansible, the dmidecode module for ansible collects system information such as BIOS specs, Processor specs and System specs and returns results in JSON. This uses dmidecode Python API and Ansible Python API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages