Ansible role to install maven.
Ansible Collections
ansible-galaxy collection install bodsch.core
or
ansible-galaxy collection install --requirements-file collections.yml
Tested on
- Arch Linux
- Debian based
- Debian 10 / 11 / 12
- Ubuntu 20.10 / 22.04
RedHat-based systems are no longer officially supported! May work, but does not have to.
Please read Contribution
The master
Branch is my Working Horse includes the "latest, hot shit" and can be complete broken!
If you want to use something stable, please use a Tagged Version!
- hosts: all
vars
maven_release: 3.6.3
roles:
- role: maven
Variable | Default Value | Description |
---|---|---|
maven_cleanup |
false |
clean temporary directory after installation |
maven_version |
3.6.3 |
Version number |
maven_home_parent_directory |
/opt |
MAVEN_HOME parent directory |
maven_mirror |
https://dlcdn.apache.org |
default mirror (see maven.apache.org) |
- Bodo Schulz
FREE SOFTWARE, HELL YEAH!