Ansible for Network Engineering
Ansible for Network Engineering
Phase 1
Foundation
Build the control node, version control, lab topology, core Ansible skills and everything else needed before scaling.
Part 01
Project Structure
Proxmox VM, Python venv, Ansible install, directory layout, local Git init.
VSCode with Remote-SSH, extensions for Ansible and Jinja2, SSH key setup for Windows and other tools for this project.
Part 02
Gitea
Deploy Gitea as a container. Create the project repo, push the local Git history. Branch protection rules.
Part 03
Ansible Vault
Vault setup, encrypted vars file,
.vault/ directory, vault-id pattern, pre-commit hook blocking plaintext secrets.Part 04
Containerlab
Containerlab install, vrnetlab image import. Deploy
wan-r1 and wan-r2 using Cat9kv. Verify console access and management connectivity.Part 05
Playbooks
Static inventory.
network_cli connection, ios_command, ios_config, gather_facts, save config.Part 06
Roles & Templates
Role directory structure, Jinja2 templates, defaults vs vars. Build reusable roles.
Last updated on • Ernesto Diaz