Giter Club home page Giter Club logo

aoscx-ansible-workflows's Introduction

aoscx-ansible-workflows

This repository contains ready-to-use workflows using the AOS-CX Ansible Collection. For detailed guides on using Ansible with AOS-CX visit us on our Aruba Developer Hub.

Requirements

  • Python 3 or later
  • Ansible 2.9.0 or later
    • Refer to Ansible's documentation for installation steps
    • Ansible 2.10+ requires ansible.netcommon collection along with the arubanetworks.aoscx collection to be installed
      ansible-galaxy collection install ansible.netcommon -f
      ansible-galaxy collection install arubanetworks.aoscx -f
  • Minimum supported AOS-CX firmware version 10.04
  • Enable REST on your AOS-CX device with the following commands:
    switch(config)# https-server rest access-mode read-write
    switch(config)# https-server vrf mgmt
    
  • Enable SSH on your AOS-CX device with the following command:
    switch(config)# ssh server vrf mgmt
    

Executing Workflows

  1. Ensure you've completed all the requirements stated above.
  2. Clone this repository onto your Ansible Control Machine:
git clone https://github.com/aruba/aoscx-ansible-workflows.git
  1. Modify the inventory.yml file to match the IP address and login credentials of your AOS-CX switch:
  • ansible_host: IP address of switch in A.B.C.D format. For IPv6 hosts use a string and enclose in square brackets E.G. '[2001::1]'.
  • ansible_user: Username for switch in plaintext format
  • ansible_password: Password for switch in plaintext format
  1. Run the desired workflow using the ansible-playbook command and providing the inventory.yml file:
ansible-playbook configure_vlans.yml -i inventory.yml

Contribution

At Aruba Networks we're dedicated to ensuring the quality of our products, so if you find any issues at all please open an issue on our Github and we'll be sure to respond promptly!

For more contribution opportunities follow our guidelines outlined in our CONTRIBUTING.md

License

Apache 2.0

aoscx-ansible-workflows's People

Contributors

tchiapuziowong avatar white840117 avatar

Forkers

olliehsu webbhyj

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.