baztian.jython
Jython Ansible Role
This role is used to download and install Jython. It will also preinstall Virtualenv and create a shortcut for it called jvirtualenv
.
Requirements
- You need to have Java JRE installed.
Role Variables
You can change how this role works with the following variables (default values are shown below):
# Jython version number
jython_version: 2.7.0
# Directory where Jython will be installed
jython_install_dir: /opt
# Directory where the Jython and virtualenv (as jvirtualenv) shortcuts will be created
jython_bin_dir: /usr/local/bin
# Directory to save files downloaded for Jython installation
jython_download_dir: "{{ x_ansible_download_dir | default(ansible_env.HOME + '~/.ansible/tmp/downloads') }}"
Example Playbook
- hosts: servers
become: yes
roles:
- { role: baztian.jython, jython_version: "2.7.0" }
License
MIT
Installa
ansible-galaxy install baztian.jython
Licenza
mit
Download
105
Proprietario