Update git module docs

pull/1256/head
Michael DeHaan 13 years ago
parent 7b5f77aba6
commit 1051d8f5ca

@ -244,7 +244,7 @@ Deploys software (or files) from git checkouts.
*repo*: *repo*:
* git or http protocol address of the repo to checkout. * git, ssh, or http protocol address of the git repo to checkout.
*dest*: *dest*:
@ -255,6 +255,10 @@ Deploys software (or files) from git checkouts.
* What version to check out -- either the git SHA, the literal string * What version to check out -- either the git SHA, the literal string
``HEAD``, or a tag name. ``HEAD``, or a tag name.
*branch*:
* (new in 0.4) Which branch name to checkout. Defaults to 'master'.
Example action from Ansible :doc:`playbooks`:: Example action from Ansible :doc:`playbooks`::
git repo=git://foosball.example.org/path/to/repo.git dest=/srv/checkout version=release-0.22 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 Started/stopped are idempotent actions that will not run commands
unless necessary. ``restarted`` will always bounce the service. 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*: *name*:
* The name of the service. * The name of the service.

Loading…
Cancel
Save