The Wayback Machine - https://web.archive.org/web/20201021025444/https://github.com/rishabhdas/dmidecode-ansible
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.

master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.