ansible.builtin.subversion – Deploys a subversion repository¶
Note
This module is part of ansible-base
and included in all Ansible
installations. In most cases, you can use the short module name
subversion even without specifying the collections:
keyword.
Despite that, we recommend you use the FQCN for easy linking to the module
documentation and to avoid conflicting with other collections that may have
the same module name.
New in version 0.7: of ansible.builtin
Synopsis¶
Deploy given repository URL / revision to dest. If dest exists, update to the specified revision, otherwise perform a checkout.
Requirements¶
The below requirements are needed on the host that executes this module.
subversion (the command line tool with
svn
entrypoint)
Parameters¶
Examples¶
- name: Checkout subversion repository to specified folder
ansible.builtin.subversion:
repo: svn+ssh://an.example.org/path/to/repo
dest: /src/checkout
- name: Export subversion directory to folder
ansible.builtin.subversion:
repo: svn+ssh://an.example.org/path/to/repo
dest: /src/export
export: yes
- name: Get information about the repository whether or not it has already been cloned locally
ansible.builtin.subversion:
repo: svn+ssh://an.example.org/path/to/repo
dest: /src/checkout
checkout: no
update: no
Authors¶
Dane Summers (@dsummersl) <njharman@gmail.com>