GithubHelp home page GithubHelp logo

anusorn / aedansible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arbor/aedansible

0.0 0.0 0.0 56 KB

This repository contains a collection of Ansible modules that allow you to configure and manage NETSCOUT Arbor Edge Defense (AED) appliances with Ansible.

License: GNU General Public License v3.0

Shell 1.25% Python 98.75%

aedansible's Introduction

NETSCOUT® AED Ansible Modules

This repository contains a collection of Ansible modules that allow you to configure and manage NETSCOUT Arbor Edge Defense (AED) appliances with Ansible.

Prerequisites

To use the modules in this repository, you need:

  • Ansible
  • One or more AED appliances with AED software, version 6.2 or greater
  • One of the following types of login credentials for each AED appliance:
    • username and password
    • an API token

Installation instructions

Clone this repository to the machine on which Ansible is installed.

Use the aed role from this repository as is or copy it into your existing playbook directory structure.

The /roles/aed/ directory is an Ansible role for AED appliances. Per the standard for Ansible roles, it contains the following subdirectories:

  • aed/defaults/: The default values for variables that you must set to use the aed role.
  • aed/httpapi_plugins/: The httpapi connection plugins that you need to connect to the AED appliances.
  • aed/library/: The Ansible modules for performing tasks on the AED appliances.
  • aed/module_utils/: The common Python modules that the Ansible modules use.
  • aed/tasks/: The tasks to perform on the AED appliances.

Due to a possible bug in Ansible, you must set the httpapi_plugins option in your Ansible config file to the httpapi_plugins/ subdirectory in the aed role. For an example of how to set this option, see the ansible.cfg file in this repository.

IMPORTANT: If you do not perform this operation before you use the aed role, Ansible will not load the AED httpapi plugin correctly and a "socket_path does not exist or cannot be found" error may occur.

Add the AED appliances to your inventory. The hosts.example file in this repository contains some examples of how to set the login credentials:

  • For password-based authentication, set the ansible_user and ansible_password variables.
  • For API token-based authentication, set the ansible_httpapi_aed_api_token variable.

To customize the aed role, create an aed/tasks/main.yaml file, and add the tasks to perform on the AED. The example_tasks/ directory contains some examples of AED tasks.

IMPORTANT: Do not copy the tasks verbatim as they are meant to be example use cases only.

If necessary, create a new aed/vars/main.yaml file to modify the default variables set in aed/defaults/main.yaml. In most cases, this should not be necessary.

You can now add the aed role to your main playbook. The playbook.yaml file that is included in this repository provides a simple example of how to use this role.

aedansible's People

Contributors

ansible-aed 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.