AlbanAndrieu.subversion

Nabla roles/alban_andrieu_subversion

This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.

License Travis CI Branch Donate Ansible Galaxy Platforms

Ensures that subversion is installed (using apt)

Installation

This role requires at least Ansible v2.3.0.0. To install it, run:

Using ansible-galaxy:

$ ansible-galaxy install alban.andrieu.subversion

Using arm (Ansible Role Manager):

$ arm install alban.andrieu.subversion

Using git:

$ git clone https://github.com/AlbanAndrieu/ansible-subversion.git

Documentation

More information about alban.andrieu.subversion can be found in the TODO official alban.andrieu.subversion documentation.

Role variables

List of default variables available in the inventory:

subversion_enabled: yes                       # Enable module

subversion_previous_enabled: yes              # Enable for subversion 1.6
#subversion_previous_codename: {{ ansible_lsb.codename }}
#subversion_previous_codename: precise
subversion_previous_codename: trusty

#Ubuntu 13
#subversion_major: '1'
#subversion_minor: '6'
#subversion_revision: '17'
#subversion_version: "{{subversion_major}}.{{subversion_minor}}.{{subversion_revision}}"
#subversion_ubuntu: '{{ subversion_version }}dfsg-3ubuntu3'

#Ubuntu 14
subversion_major: '1'
subversion_minor: '8'
subversion_revision: '8'
subversion_version: "{{subversion_major}}.{{subversion_minor}}.{{subversion_revision}}"
subversion_ubuntu: '{{ subversion_version }}-1ubuntu3.2'

#user: 'albandri' #please override me
user: "{{ lookup('env','USER') }}"
subversion_owner: "{{ user }}"
subversion_group: "{{ subversion_owner }}"
#home: '~' #please override me
home: "{{ lookup('env','HOME') }}"
subversion_owner_home: "{{ home }}"
subversion_config_dir: "{{ subversion_owner_home }}/.subversion"
#use meld or xxdiff-subversion or xx-diff-proxy
subversion_diff_cmd: meld
subversion_merge_tool_cmd_directory: /usr/bin/
subversion_merge_tool_file: "svn-merge-meld.sh"
subversion_diff3_cmd: "{{ subversion_merge_tool_cmd_directory }}/{{ subversion_merge_tool_file }}"
subversion_merge_tool_cmd: "{{ subversion_diff3_cmd }}"
#subversion_merge_tool_cmd: svn-merge-meld.py

subversion_rabbitvcs_enabled: yes                       # Enable module
subversion_diff_enabled: yes                            # Enable module

Detailed usage guide

Run the following command :

ansible-playbook -i hosts -c local -v subversion.yml -vvvv --ask-sudo-pass | tee setup.log

Testing

$ ansible-galaxy install alban.andrieu.subversion
$ vagrant up

Contributing

The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.

For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors and license

roles/alban_andrieu_subversion role was written by:

License

Feedback, bug-reports, requests, ...

Are welcome!


This role is part of the Nabla project. README generated by Ansigenome.


Alban Andrieu

linkedin

About

A role for installing subversion

Install
ansible-galaxy install AlbanAndrieu.subversion
GitHub repository
License
mit
Downloads
120
Owner
DevSecOps