mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
updated subversion/git RST for new subversion module and git force option
This commit is contained in:
committed by
Michael DeHaan
parent
922e34c144
commit
3a8c277cb8
@@ -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
|
||||
Reference in New Issue
Block a user