{"id":18367820,"url":"https://github.com/gantsign/ansible_role_sdkman","last_synced_at":"2025-04-06T17:31:34.947Z","repository":{"id":39652059,"uuid":"144993921","full_name":"gantsign/ansible_role_sdkman","owner":"gantsign","description":"Ansible role for downloading and installing SDKMAN","archived":false,"fork":false,"pushed_at":"2022-10-09T13:09:38.000Z","size":114,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T03:51:14.447Z","etag":null,"topics":["ansible","ansible-role","java","sdkman"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/gantsign/sdkman","language":"Shell","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/gantsign.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":"2018-08-16T13:47:49.000Z","updated_at":"2024-06-08T15:17:14.000Z","dependencies_parsed_at":"2023-01-19T16:30:17.751Z","dependency_job_id":null,"html_url":"https://github.com/gantsign/ansible_role_sdkman","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gantsign%2Fansible_role_sdkman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gantsign%2Fansible_role_sdkman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gantsign%2Fansible_role_sdkman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gantsign%2Fansible_role_sdkman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gantsign","download_url":"https://codeload.github.com/gantsign/ansible_role_sdkman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247522297,"owners_count":20952518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","java","sdkman"],"created_at":"2024-11-05T23:23:36.006Z","updated_at":"2025-04-06T17:31:34.215Z","avatar_url":"https://github.com/gantsign.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible Role: SDKMAN\n====================\n\n[![Tests](https://github.com/gantsign/ansible_role_sdkman/workflows/Tests/badge.svg)](https://github.com/gantsign/ansible_role_sdkman/actions?query=workflow%3ATests)\n[![Ansible Galaxy](https://img.shields.io/badge/ansible--galaxy-gantsign.sdkman-blue.svg)](https://galaxy.ansible.com/gantsign/sdkman)\n[![License](https://img.shields.io/badge/license-Apache_2-blue.svg)](https://raw.githubusercontent.com/gantsign/ansible_role_sdkman/master/LICENSE)\n\nRole to download and install [SDKMAN](https://sdkman.io/) the software\ndevelopment kit manager.\n\nRequirements\n------------\n\n* Ansible \u003e= 2.9\n\n* Linux Distribution\n\n    * Debian Family\n\n        * Debian\n\n            * Stretch (9)\n            * Buster (10)\n            * Bullseye (11)\n\n        * Ubuntu\n\n            * Bionic (18.04)\n            * Focal (20.04)\n\n    * RedHat Family\n\n        * Rocky Linux\n\n            * 8\n\n        * Fedora\n\n            * 35\n\n    * SUSE Family\n\n        * openSUSE\n\n            * 15.3\n\n    * Note: other versions are likely to work but have not been tested.\n\nRole Variables\n--------------\n\nThe following variables will change the behavior of this role:\n\n```yaml\n# SDKMAN version number\nsdkman_version: '5.16.0'\n\n# The SHA256 of the SDKMAN redistributable package\nsdkman_redis_sha256sum: 'a97aab3446ef76da2ea573d8e40e2c3d286468df69a40c83a4954b92c5229aa9'\n\n# SDKMAN native version number\nsdkman_native_version: '0.0.15'\n\n# The SHA256 of the SDKMAN native redistributable package\nsdkman_native_redis_sha256sum: '824e0a16c537ed20aaa71afcf5af0cc3a812ecdc7d50847080e6c77552159448'\n\n# Directory to store files downloaded for SDKMAN\nsdkman_download_dir: \"{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads') }}\"\n\n# SDKMAN is installed per user so you must specify at least one user\nsdkman_users: []\n# e.g.\n# sdkman_users:\n#   - example_username1\n#   - example_username2\n```\n\nExample Playbook\n----------------\n\n```yaml\n- hosts: servers\n  roles:\n    - role: gantsign.sdkman\n      sdkman_users:\n        - example_username\n```\n\nMore Roles From GantSign\n------------------------\n\nYou can find more roles from GantSign on\n[Ansible Galaxy](https://galaxy.ansible.com/gantsign).\n\nDevelopment \u0026 Testing\n---------------------\n\nThis project uses [Molecule](http://molecule.readthedocs.io/) to aid in the\ndevelopment and testing; the role is unit tested using\n[Testinfra](http://testinfra.readthedocs.io/) and\n[pytest](http://docs.pytest.org/).\n\nTo develop or test you'll need to have installed the following:\n\n* Linux (e.g. [Ubuntu](http://www.ubuntu.com/))\n* [Docker](https://www.docker.com/)\n* [Python](https://www.python.org/) (including python-pip)\n* [Ansible](https://www.ansible.com/)\n* [Molecule](http://molecule.readthedocs.io/)\n\nBecause the above can be tricky to install, this project includes\n[Molecule Wrapper](https://github.com/gantsign/molecule-wrapper). Molecule\nWrapper is a shell script that installs Molecule and it's dependencies (apart\nfrom Linux) and then executes Molecule with the command you pass it.\n\nTo test this role using Molecule Wrapper run the following command from the\nproject root:\n\n```bash\n./moleculew test\n```\n\nNote: some of the dependencies need `sudo` permission to install.\n\nLicense\n-------\n\nApache 2\n\nAuthor Information\n------------------\n\nJohn Freeman\n\nGantSign Ltd.\nCompany No. 06109112 (registered in England)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgantsign%2Fansible_role_sdkman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgantsign%2Fansible_role_sdkman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgantsign%2Fansible_role_sdkman/lists"}