bodsch.maven
Ansible Role: maven
Ansible role to install maven.
Requirements & Dependencies
Ansible Collections
ansible-galaxy collection install bodsch.core
or
ansible-galaxy collection install --requirements-file collections.yml
Operating systems
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.
Contribution
Please read Contribution
Development, Branches (Git Tags)
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!
Example Playbook
- hosts: all
vars
maven_release: 3.6.3
roles:
- role: maven
Role Variables
| 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) |
Author and License
- Bodo Schulz
License
FREE SOFTWARE, HELL YEAH!
Install
ansible-galaxy install bodsch.mavenLicense
apache-2.0
Downloads
69
Owner
ex-developer (c, c++, php),
ex-system administrator / engineer,
keep-it-simple,
monitoring,
automation,
system architect
