Collect SSH keys with get-keys.yml
Turn on LLDP with
ansible-playbook fix/deploy_lldp.yml
Check out the inital branch with time-dependent state
git checkout Compare-State-Initial
Collect the state
ansible-playbook get-state.yml -e output=snapshot
more snapshot/E1.yml
Check out the final branch
git checkout Work
Collect state
ansible-playbook get-state.yml -e output=snap_before
colordiff -au snapshot snap_before|less -r
Log into one of the routers, turn off an interface
sshpass -p cisco ssh [email protected]
config terminal
interface gig 0/2
shutdown
Repeat state gathering
ansible-playbook get-state.yml -e output=snap_after
Compare the state
colordiff -au snap_before snap_after|less -r