1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update git module docs

This commit is contained in:
Michael DeHaan 2012-05-10 00:42:26 -04:00
parent 7b5f77aba6
commit 1051d8f5ca

View file

@ -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.