Commit 1051d8f5 by Michael DeHaan

Update git module docs

parent 7b5f77ab
...@@ -244,7 +244,7 @@ Deploys software (or files) from git checkouts. ...@@ -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. ...@@ -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. ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment