{"id":18469097,"url":"https://github.com/sansible/java","last_synced_at":"2026-03-08T01:35:54.273Z","repository":{"id":46859856,"uuid":"51329132","full_name":"sansible/java","owner":"sansible","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-07T12:01:16.000Z","size":33,"stargazers_count":2,"open_issues_count":2,"forks_count":8,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-04-08T10:41:39.453Z","etag":null,"topics":["ansible","ansible-role","ansible-roles","java"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sansible.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-08T21:39:55.000Z","updated_at":"2020-07-25T15:33:13.000Z","dependencies_parsed_at":"2022-09-23T06:02:10.761Z","dependency_job_id":null,"html_url":"https://github.com/sansible/java","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/sansible/java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fjava","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fjava/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fjava/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fjava/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sansible","download_url":"https://codeload.github.com/sansible/java/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fjava/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30240904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"ssl_error","status_checked_at":"2026-03-08T00:55:48.608Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","ansible-roles","java"],"created_at":"2024-11-06T10:08:56.055Z","updated_at":"2026-03-08T01:35:54.243Z","avatar_url":"https://github.com/sansible.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# java\n\nMaster: [![Build Status](https://travis-ci.org/sansible/java.svg?branch=master)](https://travis-ci.org/sansible/java)\nDevelop: [![Build Status](https://travis-ci.org/sansible/java.svg?branch=develop)](https://travis-ci.org/sansible/java)\n\n* [ansible.cfg](#ansible-cfg)\n* [Installation and Dependencies](#installation-and-dependencies)\n* [Tags](#tags)\n* [Examples](#examples)\n\nThis roles installs OpenJDK Java, any version can be installed\nbut 7 is used by default (which may not be available on all O/S releases).\n\n*NOTE:* Only x86_64 is supported.\n\n\n## Installation and Dependencies\n\nThis role has no dependencies and has been tested with Ansible 2.2+.\n\nTo install run `ansible-galaxy install sansible.java` or add this to your\n`roles.yml`\n\n```YAML\n- name: sansible.java\n  version: v2.1\n```\n\nand run `ansible-galaxy install -p ./roles -r roles.yml`\n\n\n## Tags\n\nThis role uses one tag: **build**\n\n* `build` - Installs OpenJDK Java.\n\n\n## Arguments\n\nArgument | Default | Description\n----------|---------|------------\n\nsansible_java_apt_key_id | EB9B1D8886F44E2A | Fingerprint of PGP used to verify repo\nsansible_java_apt_keyserver | http://eu.pool.sks-keyservers.net | Keyserver to grab PGP key from\nsansible_java_apt_repo | See defaults | The repo to grab packages from\nsansible_java_set_as_default | yes | Set the installed version as default\nsansible_java_version | 8 | The Java version to be installed\n\n\n## Example Playbook\n\nTo install OpenJDK Java 7:\n\n```YAML\n- name: Install Java\n  hosts: sandbox\n\n  roles:\n    - name: java\n```\n\nTo install OpenJDK Java 8:\n\n```YAML\n- name: Install Java\n  hosts: sandbox\n\n  roles:\n    - name: java\n      java:\n        version: 8\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsansible%2Fjava","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsansible%2Fjava","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsansible%2Fjava/lists"}