geerlingguy.svn2git
Ansible Role: KDE's Svn2Git
This role installs KDE's Svn2Git, a tool that makes it easy to change SVN repositories into Git repositories on RHEL/CentOS or Debian/Ubuntu Linux systems.
Requirements
No requirements needed.
Role Variables
Here are the variables you can customize, along with their default values (see defaults/main.yml
):
workspace
: /rootThis is where files will be downloaded and prepared for the git2svn installation.
svn2git_source_repo
: https://github.com/svn-all-fast-export/svn2git.gitsvn2git_source_version
: masterThis is the source repository and version (like a git branch, tag, or commit hash) from where the svn2git code will be copied.
svn2git_install_path
: /usr/local/shareThis is the folder where svn2git will be installed.
svn2git_qmake_bin_path
: /usr/lib64/qt4/bin/qmakeThis is the path to the
qmake
executable. It may vary a bit based on your QT installation.
Dependencies
geerlingguy.svn
geerlingguy.git
Example Playbook
- hosts: servers
roles:
- geerlingguy.svn
- geerlingguy.git
- geerlingguy.svn2git
License
MIT / BSD
Author Information
This role was created in 2014 by Jeff Geerling, who wrote Ansible for DevOps.
Svn2Git VCS conversion software for Linux.
ansible-galaxy install geerlingguy.svn2git