Created
April 5, 2012 23:16
Revisions
-
andresdouglas created this gist
Apr 5, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ # Use a macro: # https://gist.github.com/2149546 {% set deploy_path = '/var/django/reader.fm/revisions/' %} # create deploy dir {{ deploy_path }}: file: - directory - makedirs: True # create a user for django # manage ssh deploy key # clone git repo {# git clone [email protected]:... cmd: - run - unless: #} # set up virtualenv