ansible / ansible.builtin / v2.3.2.0-1 / module / subversion Deploys a subversion repository. | "added in version" 0.7 of ansible.builtin" Authors: Dane Summers (@dsummersl) <njharman@gmail.com> preview | supported by coreansible.builtin.subversion (v2.3.2.0-1) — module
pip
Install with pip install ansible==2.3.2.0.post1
Deploy given repository URL / revision to dest. If dest exists, update to the specified revision, otherwise perform a checkout.
# Checkout subversion repository to specified folder. - subversion: repo: svn+ssh://an.example.org/path/to/repo dest: /src/checkout
# Export subversion directory to folder - subversion: repo: svn+ssh://an.example.org/path/to/repo dest: /src/export
# Example just get information about the repository whether or not it has # already been cloned locally. - subversion: repo: svn+ssh://an.example.org/path/to/repo dest: /srv/checkout checkout: no update: no
dest: default: null description: - Absolute path where the repository should be deployed. required: true repo: aliases: - name - repository default: null description: - The subversion URL to the repository. required: true force: choices: - 'yes' - 'no' default: 'no' description: - If C(yes), modified files will be discarded. If C(no), module will fail if it encounters modified files. Prior to 1.9 the default was `yes`. required: false export: choices: - 'yes' - 'no' default: 'no' description: - If C(yes), do export instead of checkout/update. required: false version_added: '1.6' version_added_collection: ansible.builtin switch: choices: - 'yes' - 'no' default: 'yes' description: - If C(no), do not call svn switch before update. required: false version_added: '2.0' version_added_collection: ansible.builtin update: choices: - 'yes' - 'no' default: 'yes' description: - If no, do not retrieve new revisions from the origin repository required: false version_added: '2.3' version_added_collection: ansible.builtin checkout: choices: - 'yes' - 'no' default: 'yes' description: - If no, do not check out the repository if it does not exist locally required: false version_added: '2.3' version_added_collection: ansible.builtin password: default: null description: - --password parameter passed to svn. required: false revision: aliases: - version default: HEAD description: - Specific revision to checkout. required: false username: default: null description: - --username parameter passed to svn. required: false executable: default: null description: - Path to svn executable to use. If not supplied, the normal mechanism for resolving binary paths will be used. required: false version_added: '1.4' version_added_collection: ansible.builtin