A practical example of using Ansible to manage the configuration of an SR Linux fabric with the intent-based approach leveraging the official Ansible collection for SR Linux - read the tutorial on learn.srlinux.dev for a complete walkthrough of this project.
Run this lab in GitHub Codespaces for free.
Learn more about Containerlab for Codespaces.
- Deploy the lab topology:
sudo clab deploy -t topo.yml
- Run the Ansible playbook:
ansible-playbook -i inv/ -e intent_dir=/workspaces/intent-based-ansible-lab/intent_examples/infra/underlay_with_fabric_intent --diff playbooks/cf_fabric.yml