Skip to content

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.

License

Notifications You must be signed in to change notification settings

pirenga/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

No packages published

Languages

  • Python 100.0%