Giter Site home page Giter Site logo

ansible-role-gradle's Introduction

Gradle Ansible Role

Installs Gradle Get from Ansible galaxy like so:

ansible-galaxy install shelleg.gradle

Please test the role before creating a Pull Request by issuing:

chmod +x ./tests/geerlingguy.test/ansible-role-test.sh
cleanup=false container_id=$(date +%s) distro=centos7 ./tests/geerlingguy.test/ansible-role-test.sh

Build Status:

Currently only supports Ansible lint, need to add distributions (work started in .travis.yml)

Build Status

Code Climate Issue Count Test Coverage

Requirements

JAVA Oracle

Role Variables

Version related:

  • gradle_version: 4.4.1
  • gradle_checksum: sha256:dd9b24950dc4fca7d1ca5f1ccd57ca8c5b9eb407e3e6e0f48174fde4bb19ed06

Defaults:

  • gradle_binary: "gradle-{{ gradle_version }}-all.zip"
  • gradle_download_url: "https://services.gradle.org/distributions/{{ gradle_binary }}"

Installation directory:

  • gradle_base_dir: /usr/local/share/
  • gradle_extract_dir: "gradle-{{ gradle_version }}"
  • gradle_link: /usr/local/bin/gradle

Dependencies

Requires Java in order to run. Personally I do not believe in dependencies from meta/main.yml considering this looks too much like black magic ...

Example Playbook

Including an example of how to use this role:

---
- hosts: localhost
  remote_user: root
  roles:
    - java
    - gradle

Changelog:

  • initial release - initial release support ubutnu 14/16.04 && centos 6/7

License

Apache 2.0

Author Information

Haggai Philip Zagury [email protected] part of Shellg project. see also Shellg Docs

ansible-role-gradle's People

Contributors

030 avatar hagzag avatar uriv58 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.