12Modules11Roles26Plugins3Dependencies
Ansible Roles & Modules to support Arista AVD
AVD Documentation:
The AVD collection has the following requirements:
pyavd[ansible-collection]
matching the collection versionansible.cfg
file to support additional Jinja2 extensionsFollow the installation guide to install the requirements.
Before using this collection, you need to install it with the Ansible Galaxy command-line tool:
ansible-galaxy collection install arista.avd
You can also include it in a requirements.yml
file and install it with ansible-galaxy collection install -r requirements.yml
, using the format:
collections:
- name: arista.avd
Note that if you install the collection from Ansible Galaxy, it will not be upgraded automatically when you upgrade the Ansible package.
To upgrade the collection to the latest available version, run the following command:
ansible-galaxy collection install arista.avd --upgrade
You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version 4.7.1:
ansible-galaxy collection install arista.avd:==5.2.3
See using Ansible collections for more details.
The AVD collection requires the installation of additional Python packages. To ensure you install the correct versions, run the following commands:
export ARISTA_AVD_DIR=$(ansible-galaxy collection list arista.avd --format yaml | head -1 | cut -d: -f1)
pip3 install -r ${ARISTA_AVD_DIR}/arista/avd/requirements.txt
In your ansible.cfg
file, add the following modifications:
[defaults]
jinja2_extensions=jinja2.ext.loopcontrols,jinja2.ext.do
duplicate_dict_key=error
Please see the documentation for examples in data center, campus, and wide area network environments.
Every pull request is thoroughly tested by our extensive CI pipeline and reviewed by the AVD Maintainer team.
Contributing pull requests are gladly welcomed for this repository. If you are planning a significant change, please start a discussion first to ensure we can merge it. Please see contribution guide for additional details.
You can also open an issue to report any problems or submit requests for enhancements.
Please see the release notes for the latest updates to the AVD collection.
Copyright (c) 2019-2024 Arista Networks, Inc.
The project is published under Apache 2.0 License
Product |
---|
Red Hat Ansible Automation Platform 2.4 |
Red Hat Ansible Automation Platform 2.5 |
This collection requires the following collections for use:
Name | Summary |
---|
The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.