srlinux

4Modules3Plugins2Dependencies

Overview

Description

Ansible collection for Nokia SR Linux Network OS.

Readme

SR Linux Ansible Collection

Ansible Collection to manage Nokia SR Linux devices. Documentation is provided at https://learn.srlinux.dev/ansible/collection/

Quick start for developers

Start with cloning the repo:

git clone git@github.com:nokia/srlinux-ansible-collection.git
cd srlinux-ansible-collection

Deploy the lab to support the tests:

./run.sh deploy-lab

Run the automated suite of tests to make sure nothing is missing. This will also prepare a dev environment (you have to make sure the venv with ansible is activated or ansible-playbook is in your path):

./run.sh test

To validate that the code passes Ansible's sanity check, run:

./run.sh sanity-test

Running individual tests

To run an individual test, first make sure that the local code base is used by ansible. This can be done by running:

./run.sh prepare-dev-env

Then either run one of the provided test playbooks (defined in run.sh) or run your own:

./run.sh test-set-leaves

Contributing to this collection

The content of this collection is made by people like you, a community of individuals collaborating on making the world better through developing automation software.

We are actively accepting new contributors and all types of contributions are very welcome.

Don't know how to start? Refer to the Ansible community guide!

Want to submit code changes? Take a look at the Quick-start development guide.

We also use the following guidelines:

Code of Conduct

We follow the Ansible Code of Conduct in all our interactions within this project.

If you encounter abusive behavior, please refer to the policy violations section of the Code for information on how to raise a complaint.

Communication

Join the Ansible forum:

  • Get Help: get help or help others. Please add appropriate tags if you start new discussions.
  • Posts tagged with 'srlinux': subscribe to participate in SR Linux Ansible collection/technology-related conversations.
  • Social Spaces: gather and interact with fellow enthusiasts.
  • News & Announcements: track project-wide announcements including social events. The Bullhorn newsletter, which is used to announce releases and important changes, can also be found here.

Licensing

BSD 3-Clause License

See LICENSE to see the full text.

Certification

Product
Red Hat Ansible Automation Platform 2.4
Red Hat Ansible Automation Platform 2.5
DocumentationDependencies

This collection requires the following collections for use:

NameSummary
No dependencies
This collection is not being used by other collections.
View in Automation Hub
Red Hat logoLinkedInYouTubeFacebookTwitter

Platforms

Products & services

Try, buy, sell

Help

About Red Hat Ecosystem Catalog

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.

© 2025 Red Hat