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

updated subversion/git RST for new subversion module and git force option

This commit is contained in:
Dane Summers 2012-08-24 21:13:08 -04:00 committed by Michael DeHaan
parent 922e34c144
commit 3a8c277cb8
4 changed files with 32 additions and 0 deletions

View file

@ -13,6 +13,11 @@ on the documentation project.
If you are using ansible at your company or software project, additions to the "Who Uses If you are using ansible at your company or software project, additions to the "Who Uses
Ansible" page are welcome. Email Michael at the address below to be added. Ansible" page are welcome. Email Michael at the address below to be added.
Dependencies
============
Jinja2 and Sphinx are required to build this site.
Author Author
====== ======

View file

@ -74,6 +74,7 @@ Let's see what's available in the Ansible module library, out of the box:
.. include:: modules/service.rst .. include:: modules/service.rst
.. include:: modules/setup.rst .. include:: modules/setup.rst
.. include:: modules/shell.rst .. include:: modules/shell.rst
.. include:: modules/subversion.rst
.. include:: modules/supervisorctl.rst .. include:: modules/supervisorctl.rst
.. include:: modules/template.rst .. include:: modules/template.rst
.. include:: modules/user.rst .. include:: modules/user.rst

View file

@ -17,6 +17,9 @@ Deploys software (or files) from git checkouts.
+--------------------+----------+---------+----------------------------------------------------------------------------+ +--------------------+----------+---------+----------------------------------------------------------------------------+
| remote | no | origin | name of the remote branch | | remote | no | origin | name of the remote branch |
+--------------------+----------+---------+----------------------------------------------------------------------------+ +--------------------+----------+---------+----------------------------------------------------------------------------+
| force | no | yes | (New in 0.8) If yes, any modified files in the working repository will be |
| | | | thrown out. If no, this module will fail if it encounters modified files. |
+--------------------+----------+---------+----------------------------------------------------------------------------+
Example action from Ansible :doc:`playbooks`:: Example action from Ansible :doc:`playbooks`::

View file

@ -0,0 +1,23 @@
.. _subversion:
subversion
```
.. versionadded:: 0.8
Deploys a subversion repository.
+--------------------+----------+---------+----------------------------------------------------------------------------+
| parameter | required | default | comments |
+====================+==========+=========+============================================================================+
| repo | yes | | The subversion URL to the repository. |
+--------------------+----------+---------+----------------------------------------------------------------------------+
| dest | yes | | Absolute path where the repository should be deployed. |
+--------------------+----------+---------+----------------------------------------------------------------------------+
| force | no | yes | If yes, any modified files in the working repository will be |
| | | | thrown out. If no, this module will fail if it encounters modified files. |
+--------------------+----------+---------+----------------------------------------------------------------------------+
Example action from Ansible :doc:`playbooks`::
subversion repo=svn+ssh://an.example.org/path/to/repo dest=/src/checkout