GithubHelp home page GithubHelp logo

danfael / ansible-aci Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ciscodevnet/ansible-aci

0.0 0.0 0.0 1.51 MB

Cisco ACI Ansible Collection

Home Page: https://galaxy.ansible.com/cisco/aci

License: GNU General Public License v3.0

Python 100.00%

ansible-aci's Introduction

ansible-aci

The ansible-aci project provides an Ansible collection for managing and automating your Cisco ACI environment. It consists of a set of modules and roles for performing tasks related to ACI.

This collection has been tested and supports ACI 3.2+. Modules supporting new features introduced in ACI API in specific ACI versions might not be supported in earlier ACI releases.

Note: This collection is not compatible with versions of Ansible before v2.8.

Requirements

Ansible v2.9 or newer

Install

Ansible must be installed

sudo pip install ansible

Install the collection

ansible-galaxy collection install cisco.aci

Use

Once the collection is installed, you can use it in a playbook by specifying the full namespace path to the module, plugin and/or role.

- hosts: aci
  gather_facts: no

  tasks:
  - name: Add a new EPG
    cisco.aci.aci_epg:
      hostname: apic
      username: admin
      password: SomeSecretPassword
      tenant: production
      ap: intranet
      epg: web_epg
      description: Web Intranet EPG
      bd: prod_bd
    delegate_to: localhost

Update

Getting the latest/nightly collection build

First Approach

Clone the ansible-aci repository.

git clone https://github.com/CiscoDevNet/ansible-aci.git

Go to the ansible-aci directory

cd ansible-aci

Pull the latest master on your aci

git pull origin master

Build and Install a collection from source

ansible-galaxy collection build --force
ansible-galaxy collection install cisco-aci-* --force

Second Approach

Go to: https://github.com/CiscoDevNet/ansible-aci/actions

Select the latest CI build

Under Artifacts download collection and unzip it using Terminal or Console.

Note: The collection file is a zip file containing a tar.gz file. We recommend using CLI because some GUI-based unarchiver might unarchive both nested archives in one go.

Install the unarchived tar.gz file

ansible-galaxy collection install cisco-aci-1.0.0.tar.gz โ€”-force

See Also:

Contributing to this collection

Ongoing development efforts and contributions to this collection are tracked as issues in this repository.

We welcome community contributions to this collection. If you find problems, need an enhancement or need a new module, please open an issue or create a PR against the Cisco ACI collection repository.

ansible-aci's People

Contributors

lhercot avatar xinyuezhao avatar shrsr avatar akinross avatar timcragg avatar sajagana avatar anvitha-jain avatar nkatarmal-crest avatar zjpeterson avatar tvarohohlavy avatar maercu avatar kudtarkar1 avatar lumean avatar alexkross avatar tomvrugt avatar bert-jan avatar akira6592 avatar anshulbehl avatar bmillemathias avatar dagwieers avatar fraserhenshaw avatar jt252 avatar markh0338 avatar olemyhre avatar tbachman avatar trenzy avatar manofcolombia avatar gustavos86 avatar jasonjuenger avatar ksaegusa 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.