AlbanAndrieu.squirrel
roles/alban_andrieu_squirrel
This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.
Ensures that squirrel is properly installed and configured on Ubuntu using Ansible script.
This Simple role allows you to install squirrel.
Taken from
http://www.squirrel.com/downloads/
Installation
This role requires at least Ansible v2.3.0.0. To install it, run:
Using ansible-galaxy:
$ ansible-galaxy install alban.andrieu.squirrel
Using arm (Ansible Role Manager):
$ arm install alban.andrieu.squirrel
Using git:
$ git clone https://github.com/AlbanAndrieu/ansible-squirrel.git
Documentation
More information about alban.andrieu.squirrel can be found in the
TODO official alban.andrieu.squirrel documentation.
Role variables
List of default variables available in the inventory:
squirrel_enabled: yes # Enable module
#user: 'albandri' #please override me
user: "{{ lookup('env','USER') }}"
squirrel_owner: "{{ user }}"
squirrel_group: "{{ squirrel_owner }}"
#home: '~' #please override me
home: "{{ lookup('env','HOME') }}"
squirrel_owner_home: "{{ home }}"
squirrel_root_dir: "/usr/local"
squirrel_base_dir: "{{ squirrel_root_dir }}/{{squirrel_archive_extracted}}"
squirrel_link_base_dir: "/opt"
squirrel_dir_tmp: "/tmp" # or override with "{{ tempdir.stdout }} in order to have be sure to download the file"
## Most likely you dont need to edit
#todo squirrel_service_enabled : 'yes'
squirrel_major: "3.6"
squirrel_minor: "0"
squirrel_version: "{{squirrel_major}}.{{squirrel_minor}}"
squirrel_name: "squirrel"
squirrel_archive_extracted: "{{ squirrel_name }}-sql-{{ squirrel_major }}"
#http://downloads.sourceforge.net/project/{{ squirrel_name }}-sql/1-stable/{{ squirrel_version }}/squirrel-sql-{{ squirrel_major }}-standard.jar?r=http%3A%2F%2Fwww.squirrelsql.org%2F&ts=1424876345&use_mirror=heanet
squirrel_archive: "{{ squirrel_archive_extracted }}-standard.jar"
squirrel_url: "http://downloads.sourceforge.net/project/{{ squirrel_name }}-sql/1-stable/{{ squirrel_version }}/{{ squirrel_archive_extracted }}-standard.jar?r=http%3A%2F%2Fwww.squirrelsql.org%2F&ts=1424876345&use_mirror=heanet"
squirrel_home_dir: "{{squirrel_base_dir}}/{{squirrel_name}}-{{squirrel_major}}"
Detailed usage guide
Describe how to use in more detail...
Testing
$ ansible-galaxy install alban.andrieu.squirrel
$ 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.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Authors and license
roles/alban_andrieu_squirrel role was written by:
- Alban Andrieu | e-mail | Twitter | GitHub
License
- License: GPLv3
Feedback, bug-reports, requests, ...
Are welcome!
This role is part of the Nabla project. README generated by Ansigenome.
Alban Andrieu
ansible-galaxy install AlbanAndrieu.squirrel