From 1051d8f5caa8786c4e711ebe50ee3a4b009c3d1b Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 10 May 2012 00:42:26 -0400 Subject: [PATCH] Update git module docs --- rst/modules.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/rst/modules.rst b/rst/modules.rst index 03ab892342b..f710dfd8311 100644 --- a/rst/modules.rst +++ b/rst/modules.rst @@ -244,7 +244,7 @@ Deploys software (or files) from git checkouts. *repo*: -* git or http protocol address of the repo to checkout. +* git, ssh, or http protocol address of the git repo to checkout. *dest*: @@ -255,6 +255,10 @@ Deploys software (or files) from git checkouts. * What version to check out -- either the git SHA, the literal string ``HEAD``, or a tag name. +*branch*: + +* (new in 0.4) Which branch name to checkout. Defaults to 'master'. + Example action from Ansible :doc:`playbooks`:: git repo=git://foosball.example.org/path/to/repo.git dest=/srv/checkout version=release-0.22 @@ -325,6 +329,11 @@ Controls services on remote machines. Started/stopped are idempotent actions that will not run commands unless necessary. ``restarted`` will always bounce the service. +*enabled*: + +* (new in 0.4) Whether the service should start on boot. Either 'yes' or 'no'. + Uses chkconfig or updates-rc.d as appropriate. + *name*: * The name of the service.