Skip to content

jonathanmarmor/ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ops

Fabric tasks for setting up and managing my apps.

Installation

git clone https://github.com/jonathanmarmor/ops.git
cd ops
pip install -r requirements.txt

Usage from the command line

To install and serve the "centaur" application on on Ubuntu.

cd ops
fab -H <hostname> centaur.install

Usage imported into another fabfile

from fabric.api import env, task
from ops import centaur

env.user = 'ubuntu'

@task
def bootstrap_centaur():
    # Do some stuff
    centaur.install()
    # Do some other stuff

If you want to make a set of fab tasks for managing another application, look at centaur.py as an example.

About

Fabric tasks for setting up and managing my apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages