jetune.maven
Ansible Role for Installing Maven on Linux
This Ansible role is used to install Maven on Linux operating systems.
Supported Versions
- Apache Maven 2.x and 3.x
Supported Operating Systems
- CentOS 6/7
- RedHat 6/7
- Ubuntu Trusty/Xenial/Bionic
- Debian Jessie/Stretch
Dependencies
- jetune.java
How to Use
- Install the Role:
ansible-galaxy install jetune.maven
- Include it in your playbook:
--- - hosts: all roles: - role: jetune.java vars: from_repo: false implementation: OPENJDK v_major: 11 v_minor: 0.1 build: 13 os: linux arch: x64 checksum: sha256:7a6bb980b9c91c478421f865087ad2d69086a0583aeeb9e69204785e8e97dcfd alternative_priority: 300 is_default: true - role: jetune.maven vars: maven_v_major: 3 maven_v_minor: 6.1 maven_is_default: true maven_settings_directory: "~/.m2/" maven_local_repository: "/opt/maven/repository" maven_proxies: - id: "cntlm_maven_proxy" active: true protocol: "http" username: "jetune" password: "mypassword" host: "localhost" port: 3286 exclusions: "localhost|127.0.0.1|some.other.host" maven_servers: - id: "sonatype-nexus" username: "admin" password: "admin" - id: "bitbucket" privateKey: "/opt/security/key" passphrase: "p@ssw0rd" maven_mirrors: - id: "mirror-central" name: "Central Maven Repository Mirror" target: "central" url: "https://artifact.lab.kube-cloud.be/repository/maven-central/"
- You can install multiple versions of Maven.
Informazioni sul progetto
Maven installation ansible role
Installa
ansible-galaxy install jetune.maven
Licenza
apache-2.0
Download
227
Proprietario