Skip to content

bodsch/ansible-maven

Repository files navigation

Ansible Role: maven

Ansible role to install maven.

GitHub Workflow Status GitHub issues GitHub release (latest by date) Ansible Quality Score

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

defaults/main.yml

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

Apache

FREE SOFTWARE, HELL YEAH!