{"id":19624197,"url":"https://github.com/don-rumata/ansible-role-install-liberica-java","last_synced_at":"2026-02-09T23:34:37.779Z","repository":{"id":177573056,"uuid":"261033250","full_name":"don-rumata/ansible-role-install-liberica-java","owner":"don-rumata","description":"Ansible Role: Install Liberica Java","archived":false,"fork":false,"pushed_at":"2024-11-23T17:23:26.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T22:31:53.610Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","bellsoft-liberica","centos","debian","fedora","java","javafx","jdk","jre","liberica","liberica-java","sun","ubuntu"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/don_rumata/ansible_role_install_liberica_java","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/don-rumata.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-03T22:31:42.000Z","updated_at":"2024-11-23T17:23:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"c95d25b1-df08-4afa-90e2-7a5f7cdd22d9","html_url":"https://github.com/don-rumata/ansible-role-install-liberica-java","commit_stats":null,"previous_names":["don-rumata/ansible-role-install-liberica-java"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/don-rumata/ansible-role-install-liberica-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don-rumata%2Fansible-role-install-liberica-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don-rumata%2Fansible-role-install-liberica-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don-rumata%2Fansible-role-install-liberica-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don-rumata%2Fansible-role-install-liberica-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/don-rumata","download_url":"https://codeload.github.com/don-rumata/ansible-role-install-liberica-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don-rumata%2Fansible-role-install-liberica-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29285817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-galaxy","ansible-role","bellsoft-liberica","centos","debian","fedora","java","javafx","jdk","jre","liberica","liberica-java","sun","ubuntu"],"created_at":"2024-11-11T11:37:16.150Z","updated_at":"2026-02-09T23:34:37.764Z","avatar_url":"https://github.com/don-rumata.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: Install Liberica Java\n\n[![License][license-image]][license-url] [![Ansible Galaxy][ansible-galaxy-image]][ansible-galaxy-url] [![CircleCI][circleci-image]][circleci-url] [![Ansible Galaxy Quality][ansible-galaxy-quality-image]][ansible-galaxy-url] [![Ansible Galaxy Release][ansible-galaxy-release-image]][ansible-galaxy-url]\n\nInstall [Liberica Java](https://bell-sw.com/) for Linux and Windows.\n\n## Work on\n\n### Ansible Galaxy style\n\n```yaml\n  platforms:\n    - name: Fedora\n      versions:\n        - 31\n        - 32\n    - name: Ubuntu\n      versions:\n        - xenial\n        - bionic\n        - focal\n    - name: Debian\n      version:\n        - jessie\n        - stretch\n        - buster\n        - oldstable\n        - stable\n        - testing\n    - name: EL (CentOS)\n      versions:\n        - 8\n    - name: opensuse\n      vesrion:\n        - tumbleweed\n        - 15.1\n    - name: windows\n      version:\n        - 2008x64 (7 64bit)\n        - 2008x86 (7 32bit)\n        - 2019 (10 64bit)\n```\n\n## Dependencies\n\nmin_ansible_version: 2.9\n\nIn Ansible controller: [python-jmespath](https://repology.org/project/python:jmespath)\n\n## Role Variables\n\n```yaml\n# https://api.bell-sw.com/api.html\n# https://api.bell-sw.com/api.yaml\nliberica_api_version: 1\nliberica_api_releases_url: https://api.bell-sw.com/v{{ liberica_api_version }}/liberica/releases\n\nliberica_gpg_key_url: https://download.bell-sw.com/pki/GPG-KEY-bellsoft\n\n# If the value is not defined, the last supported LTS will be selected.\n# liberica_java_version: 11\n\n# LTS stands for Long Term Support. It means that the release will receive security updates for a long time.\n# EOL stands for End Of Life. It means that the release is not supported anymore.\n# GA stands for General Availability. It means that the release is stable.\n# EA stands for Early Access. It means that the release is not stable.\n# Bitness describes 64 or 32-bit architecture.\n# Versions: feature, interim, patch and build are described in OpenJDK community document JEP 322\n\n#--- For all ---#\nliberica_java_architecture: x86\nliberica_java_bundletype: jdk-full\nliberica_java_eol: 'false'\nliberica_java_lts: 'true'\nliberica_java_ga: 'true'\nliberica_java_latestlts: 'true'\n\n#--- Windows only ---#\nliberica_win_packagetype: msi\nliberica_win_installationtype: installer\nliberica_win_bitness: 64\nliberica_win_architecture: x86\n\n# Custom url with msi-installer\n# liberica_win_download_url: http://10.10.10.10/soft/bellsoft/liberica/latestlts/bellsoft-jdk-latest-windows-amd64-full.msi\n\n#--- About bundle type ---#\n# https://bell-sw.com/pages/repositories#packages-versioning\n\n# jdk - a regular package that contains the full Liberica JDK, not including JavaFX.\n# jdk-full - contains the full Liberica JDK, including JavaFX and a variety of JVMs for platforms that support it.\n# jdk-lite - includes Liberica JDK with compressed modules and Server VM, without any extra packages.\n# jre - contains Java SE Runtime Environment only.\n# jre-full - contains Java SE Runtime Environment, including JavaFX.\n\nliberica_checksum_algorithm: 'sha1'\n\n# If you *NOT* use apt-cacher-ng or other caching proxy - select \"https\".\nhttp_or_https: http\n# http_or_https: https\n\nliberica_windows_local_download_path: '{{ ansible_env.TMP }}\\liberica'\n```\n\n### If you want deploy to Windows 7\n\nDownload and install [Windows Management Framework 5.1](https://www.microsoft.com/en-us/download/details.aspx?id=54616)\n\n## HowTo\n\nQuick config WinRM for Windows: \u003chttps://ru.stackoverflow.com/a/949971/191416\u003e\n\n### How to install role\n\nOver `ansible-galaxy`:\n\n```bash\nansible-galaxy install don_rumata.ansible_role_install_liberica_java\n```\n\nOver `bash+git`:\n\n```bash\nmkdir -p \"$HOME/.ansible/roles\"\ncd \"$HOME/.ansible/roles\"\ngit clone https://github.com/don-rumata/ansible-role-install-liberica-java don_rumata.ansible_role_install_liberica_java\n```\n\n## Example Playbooks\n\n### I\n\nInstall latest stable supported LTS `JRE+JDK+JavaFX` on Windows or Linux over package manager of you distro:\n\n`install-liberica-java.yml`:\n\n```yaml\n- name: Install Liberica Java\n  hosts: all\n  strategy: free\n  serial:\n    - \"100%\"\n  roles:\n    - don_rumata.ansible_role_install_liberica_java\n  tasks:\n```\n\n### II\n\nInstall only Java SE Runtime Environment `v8`:\n\n`install-liberica-java.yml`:\n\n```yaml\n- name: Install Liberica Java\n  hosts: all\n  strategy: free\n  serial:\n    - \"100%\"\n  roles:\n    - don_rumata.ansible_role_install_liberica_java\n  vars:\n    liberica_java_version: 8\n    liberica_java_bundletype: jre\n  tasks:\n```\n\n### III\n\nInstall only Java SE Runtime Environment `v8`, Liberica JDK with compressed modules and Server VM, without any extra packages `v11` and full Liberica JDK, not including JavaFX `v14` in Linux and Windows:\n\n`my-inventory.ini`:\n\n```ini\n[linux-hosts]\nubuntu.local\n\n[win-hosts]\nwin7-64\n```\n\n`install-liberica-java.yml`:\n\n```yaml\n- name: Install Liberica Java\n  hosts: all\n  strategy: free\n  serial:\n    - \"100%\"\n  roles:\n    - role: don_rumata.ansible_role_install_liberica_java\n      liberica_java_version: 8\n      liberica_java_bundletype: jre\n    - role: don_rumata.ansible_role_install_liberica_java\n      liberica_java_version: 11\n      liberica_java_bundletype: jdk-lite\n    - role: don_rumata.ansible_role_install_liberica_java\n      liberica_java_version: 14\n      liberica_java_bundletype: jdk\n  tasks:\n```\n\n```bash\nansible-playbook -i ./my-inventory.ini ./install-liberica-java.yml\n```\n\nResult:\n\n```bash\naptitude search bellsoft\n```\n\n```none\np   bellsoft-java11                                           - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java11-full                                      - BellSoft Liberica is a build of OpenJDK.\ni   bellsoft-java11-lite                                      - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java11-runtime                                   - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java11-runtime-full                              - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java12                                           - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java12-lite                                      - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java13                                           - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java13-full                                      - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java13-lite                                      - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java13-runtime                                   - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java13-runtime-full                              - BellSoft Liberica is a build of OpenJDK.\ni   bellsoft-java14                                           - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java14-full                                      - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java14-lite                                      - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java14-runtime                                   - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java14-runtime-full                              - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java8                                            - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java8-full                                       - BellSoft Liberica is a build of OpenJDK.\ni   bellsoft-java8-runtime                                    - BellSoft Liberica is a build of OpenJDK.\np   bellsoft-java8-runtime-full                               - BellSoft Liberica is a build of OpenJDK.\n```\n\n![Liberica Java in Windows 7](pics/liberica-4-win.png \"Liberica Java in Windows 7\")\n\n## License\n\nApache License, Version 2.0\n\n## Author Information\n\n[don Rumata](https://github.com/don-rumata)\n\n## TODO\n\n- ~~Add tests.~~\n- Add more tests.\n\n## Thanks\n\n- [Aleksei Voitylov](mailto:aleksei.voitylov@bell-sw.com)\n\n[license-image]: https://img.shields.io/github/license/don-rumata/ansible-role-install-liberica-java.svg\n[license-url]: https://opensource.org/licenses/Apache-2.0\n\n[ansible-galaxy-image]: https://img.shields.io/badge/ansible_galaxy-don__rumata.ansible__role__install__liberica__java-blue.svg\n[ansible-galaxy-url]: https://galaxy.ansible.com/don_rumata/ansible_role_install_liberica_java\n\n[circleci-image]: https://circleci.com/gh/don-rumata/ansible-role-install-liberica-java.svg?style=shield\n[circleci-url]: https://circleci.com/gh/don-rumata/ansible-role-install-liberica-java\n\n[ansible-galaxy-quality-image]: https://img.shields.io/ansible/quality/48410\n\n[ansible-galaxy-release-image]: https://img.shields.io/github/v/release/don-rumata/ansible-role-install-liberica-java.svg?include_prereleases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdon-rumata%2Fansible-role-install-liberica-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdon-rumata%2Fansible-role-install-liberica-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdon-rumata%2Fansible-role-install-liberica-java/lists"}