An Ansible module to gather facts from devices using SNMP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
library added ipv4 to interface map Nov 3, 2014
roles/create-template First release Oct 22, 2014
LICENSE Initial commit Oct 22, 2014 Update info Jul 10, 2017
inventory First release Oct 22, 2014
snmp_facts-playbook.yml First release Oct 22, 2014


As of version 1.9 of Ansible this module ships as part of Ansible. There won't be any more development done in this repo and it is only left here for reference.


This is an Ansible module from Networklore. The snmp_facts module collects information from network devices such as router, firewalls and switches. This information is then stored as Ansible facts which can be used in Ansible playbooks.


Currently there isn't much documentation available, but the reasoning around this module is described in the post Gathering Ansible facts from network devices using SNMP.

The module itself contains basic information which shows you how to use it in a Playbook, also an example playbook comes bundled in this repo.


This repo assumes you have the DEPENDENCIES installed on your system.


Thes modules require the following to be installed on the Ansible server:

  • Python 2.7 (haven't tested other versions)
  • Ansible 1.5 or later
  • pysnmp 4.2.5 or later (haven't tested other versions)


GPL 2.0


  • Patrick Ogenstad (@networklore)