Skip to content

Instantly share code, notes, and snippets.

Created Jul 19, 2016
What would you like to do?
example python fabric task
#! /bin/env/python
from fabric.api import *
env.roledefs = {
'all': [
def aptget_upgrade():
sudo('apt-get -y update')
sudo('apt-get -y upgrade')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment