Role to download and install Jython. Virtualenv is being preinstalled
and a link to a virtualenv executable will be created under the name
jvirtualenv
.
- Java JRE
The following variables will change the behavior of this role (default values are shown below):
# Jython version number
jython_version: 2.7.0
# Installation directory for the Jython-versionnumber distribution and
# the Jython symlink
jython_install_dir: /opt
# Directory where a link to the Jython and virtualenv (as jvirtualenv)
# executable should be created
jython_bin_dir: /usr/local/bin
# Directory to store files downloaded for Jython installation
jython_download_dir: "{{ x_ansible_download_dir | default(ansible_env.HOME + '~/.ansible/tmp/downloads') }}"
- hosts: servers
become: yes
roles:
- { role: baztian.jython, jython_version: "2.7.0" }
MIT