Fabric Automation and Orchestration for Sysadmin
The files herein are task files for fabric a "simple, pythonic remote execution and deployment" framework.
These files are currently untested, so take this example with a grain
of salt. I will be setting up a lab shortly to test the cisco commands
to make sure they behave themselves. When I am comfortable running
these in a production environment, I will change __status__
to
Production
. Before that, use at your own risk.
First install fabric
pip install fabric
next clone this repo
git clone [email protected]:josephkern/fabfiles.git
cd fabfiles
List the available commands
fab -f cisco.py --list
fab -f cisco.py -H switch1,switch2,switch3 copy_run_start