Giter VIP home page Giter VIP logo

infoblox_ansible's Introduction

Infoblox Ansible Examples

This repo contains various examples using Ansible for Infoblox Network Identity Operating System (NIOS).

Table of Contents

Ansible Module Examples

The full list of NIOS modules can be found at the NIOS module list

In addition there are the following lookup plugins:

  • nios - Query Infoblox NIOS objects
  • nios_next_ip - Return the next available IP address for a network

Configuring an IPv4 Network with nios_network

    - name: set dhcp options for a network
      nios_network:
        network: 192.168.100.0/24
        comment: sean put a comment here
        options:
          - name: domain-name
            value: ansible.com
        state: present
        provider: "{{nios_provider}}"

The full playbook can be found here: module_playbooks/configure_network.yml

Additional Examples

There are 3 other playbooks in the module_playbooks directory that can be used as examples:

Ansible Lookup Plugin Examples

The full documentation for the NIOS lookup plugin can be found here: http://docs.ansible.com/ansible/devel/plugins/lookup/nios.html

Get a host record

    - name: fetch host leaf01
      set_fact:
        host: "{{ lookup('nios', 'record:host', filter={'name': 'leaf01'}, provider=nios_provider) }}"

    - name: check the leaf01 return variable
      debug:
        var: host

The full playbook can be found here: lookup_playbooks/get_host_record.yml

Get a network view object

    - name: fetch all networkview objects
      set_fact:
        networkviews: "{{ lookup('nios', 'networkview', provider=nios_provider) }}"

    - name: check the networkviews
      debug:
        var: networkviews

The full playbook can be found here: lookup_playbooks/get_networkviews.yml


Red Hat Ansible Automation

Red Hat® Ansible® Automation includes three products:

  • Red Hat® Ansible® Engine: a fully supported product built on the foundational capabilities of the Ansible project.

  • Red Hat® Ansible® Networking Add-On: provides support for select networking modules from Arista (EOS), Cisco (IOS, IOS XR, NX-OS), Juniper (Junos OS), Open vSwitch, and VyOS.

  • Red Hat® Ansible® Tower: makes it easy to scale automation, manage complex deployments and speed productivity. Extend the power of Ansible with workflows to streamline jobs and simple tools to share solutions with your team.

Want more info? Read this blog post for more info about Engine, the networking add-on and Tower

infoblox_ansible's People

Contributors

ipvsean avatar ericpulvino avatar gundalow avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.