nb2an: Netbox to Ansible¶

NetBox and Ansible both require a lot of manual configuration, often with duplicate information. Keeping them in sync can be a daunting challenge. The nb2an package provides utilities to map NetBox values to ansible host_vars using a simple mapping file.

nb2an documentation:

  • Installation
  • Usage
    • Step 1: Create a nb2an configuration file
    • Step 2: create a YAML mapping file
    • Step 3: Run nb-update-ansible
    • Note about YAML formatting changes
  • NetBox data access tools
    • nb-racks: Display the racks from NetBox
    • nb-devices: List the devices from Netbox
    • nb-device: Show all the properties of a device in YAML form
    • nb-parameters: Show certain parameters of a device list
    • nb-outlets: Display the outlets used by rack devices
    • nb-networks:
    • nb-check-ansible:
  • Advanced Syntax
    • replace
    • delete
    • foreach_create_dict
    • foreach_augment_dict

Indices and tables¶

  • Index

  • Module Index

  • Search Page

nb2an

Navigation

nb2an documentation:

  • Installation
  • Usage
  • NetBox data access tools
  • Advanced Syntax

Related Topics

  • Documentation overview
    • Next: Installation

Quick search

©2022, Wes Hardaker. | Powered by Sphinx 5.3.0 & Alabaster 0.7.12 | Page source