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:
parent
922e34c144
commit
3a8c277cb8
4 changed files with 32 additions and 0 deletions
|
@ -13,6 +13,11 @@ on the documentation project.
|
|||
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.
|
||||
|
||||
Dependencies
|
||||
============
|
||||
|
||||
Jinja2 and Sphinx are required to build this site.
|
||||
|
||||
Author
|
||||
======
|
||||
|
||||
|
|
|
@ -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/setup.rst
|
||||
.. include:: modules/shell.rst
|
||||
.. include:: modules/subversion.rst
|
||||
.. include:: modules/supervisorctl.rst
|
||||
.. include:: modules/template.rst
|
||||
.. include:: modules/user.rst
|
||||
|
|
|
@ -17,6 +17,9 @@ Deploys software (or files) from git checkouts.
|
|||
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
||||
| 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`::
|
||||
|
||||
|
|
23
rst/modules/subversion.rst
Normal file
23
rst/modules/subversion.rst
Normal 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
|
Loading…
Reference in a new issue