TechNetBuddy

1. Open Playbook Studio

Sign in to your TechNetBuddy account (or create one for free), then open Learn › Playbook Studio. The studio runs entirely in your browser: there is nothing to install and you do not need Python or Ansible on your computer. A desktop or laptop screen works best.

The screen is laid out like a code editor:

  • Left bar: Explorer (your files), Search, Changes & Compare, Ansible Modules and the Project Guide.
  • Centre: the editor, with a tab for each open file.
  • Bottom panel: Problems and the dry test results. Show or hide it with Ctrl+J.
  • Top bar: the menus, and a search box for files (Ctrl+P) and commands (Ctrl+Shift+P).
The Learn home page with the Playbook Studio banner and its Open Playbook Studio and How to use it buttons
The Learn home page: Playbook Studio is one click from the top.
The Playbook Studio welcome page, with New Ansible Project and Open Project buttons and a grid of automation goals
The studio’s welcome page. Start a new project here.

2. Create a project with the wizard

On the welcome page, choose New Ansible project…. The wizard has four pages:

  1. What to build: tick one or more goals, for example VLANs and switchports, interfaces and IP addressing, ACLs, static routes, OSPF or BGP, HSRP, routing authentication, backup and compliance, or an OS upgrade pre-check. Basics: get & push gives you two simple playbooks that run show commands and push a list of lines.
  2. Platforms: pick the device families you manage (Cisco IOS / IOS-XE, NX-OS, IOS-XR, Arista EOS, Junos, and others). The ones that fit your goals are listed first, and they decide which modules the editor suggests.
  3. Project: give the project a name and choose how detailed the generated tasks should be (Minimal, Common, Full or Commented).
  4. Review: click any file in the list to preview it, then create the project.
Wizard page 1, What to build, with VLANs and switchports and Interfaces and IP addressing selected
Page 1: pick what to automate. Here, VLANs and interfaces.
Wizard page 2, Platforms, listing network platforms with Cisco IOS / IOS-XE ticked
Page 2: pick your platforms. They decide which modules the editor suggests.
Wizard page 3, Project, with the project name campus-vlans and the nesting style set to Common
Page 3: name the project and choose how detailed the tasks are.

The studio writes the inventory, group variables, playbooks and a README, opens the first playbook, and shows the Project Guide with the next steps for this project.

Tip: start with one goal and one platform. You can add files and tasks later by hand, and the wizard can be run again for a new project.

3. Edit the playbook

  • Open inventory/hosts.yml and replace the example addresses with your devices, one group per platform.
  • Open a playbook from the playbooks/ folder, or site.yml, which runs them in order.
  • Start typing a module or option name, or press Ctrl+Space, to get suggestions for the network collections. Hover over a module or option to read what it does.
  • Indentation follows YAML rules as you type. Mistakes are underlined and listed in the Problems panel; click one to jump to it.
  • The Ansible Modules view (Ctrl+Shift+M) lists every module of the active collections with its options.
  • Have a device configuration already? Ansible › Paste Device CLI → Config Task… turns pasted CLI lines into a task.
  • Save with Ctrl+S. Saved files stay in this browser.
The editor showing playbooks/vlans.yml with tasks for cisco.ios.ios_vlans and cisco.ios.ios_l2_interfaces, and the project files in the Explorer
A generated playbook, ready to edit. The Explorer on the left shows the whole project.

4. Add device configurations

The dry test compares your playbook with what each device is running now, so it needs each device's configuration. Choose Run › Dry Test: Device Configurations… (or the server icon in the dry test results). For each host in your inventory:

  • Paste the output of show running-config, or
  • Load file to pick a saved configuration file from your computer.
The Configuration of ios-01 dialog with a sample IOS running configuration pasted in
Paste a device’s running configuration. This one is a short sample.

You can keep the configuration in the project (in .netstudio/dryrun/) so it is there next time. If a project already has backups in backups/, the dry test uses them. The website never connects to your devices; reading a configuration over SSH needs the desktop TechNetBuddy Studio.

5. Run the dry test

Open a playbook (or site.yml) and press Alt+F5, or click the beaker button above the editor. For each host, the results show:

  • whether the host would change or is already compliant;
  • the configuration diff: the lines that would be added or removed;
  • the exact commands the playbook would send.
Dry test results for site.yml: a summary per host, then each task with its configuration diff and the commands a real run would send
Dry test results: the summary per host, the diff, and the commands a real run would send.

Nothing is sent anywhere. If a host has no configuration, it is compared with an empty one and every line shows as a change; the results say so, and step 4 fixes it. Change the playbook or its variables, save, and run the dry test again until the diff is what you expect.

6. Keep and move your work

  • Track changes: Compare › Mark Baseline saves the current state. The Changes & Compare view (Ctrl+Shift+H) then lists every file changed since, and you can compare a file with its saved version, the baseline, the clipboard, or two pasted texts or device configurations.
  • Download: File › Download Project (.zip) gives you the whole project. Unzip it and run it with your own Ansible, for example ansible-playbook site.yml --check --diff against a lab device first.
  • Open: File › Open Project… switches between your projects; File › Open Project from .zip… loads a downloaded one, on this or another computer.
  • Delete: File › Delete This Project from the Browser… removes it from this browser only.

Your projects live in this browser. Clearing the browser's site data, or using another browser or computer, does not bring them along. Download a .zip of anything you want to keep.

Keyboard shortcuts

KeysWhat it does
Ctrl+PGo to a file
Ctrl+Shift+PSearch every command
Ctrl+SSave the file
Ctrl+SpaceShow suggestions
Alt+F5Dry test the open playbook
Ctrl+BShow or hide the side bar
Ctrl+JShow or hide the bottom panel
Ctrl+Shift+EExplorer
Ctrl+Shift+FSearch in files
Ctrl+Shift+HChanges & Compare
Ctrl+Shift+MAnsible Modules

What the website edition does not do

The website keeps everything in your browser, so it does not run Ansible, connect to devices, use Git or write Python projects. Those need the desktop TechNetBuddy Studio. The dry test is a simulation: review its output and test on a lab device before you change a production network.

Playbook Studio writes Ansible-style YAML for you to review and run with your own tools. It is not affiliated with or endorsed by Red Hat or any network vendor.