Ansible role to help manager your Groovy ecosystem with GVM. The official name has been changed to SdkMan, but that's still growing on me.
This role requires Java to be installed in order to use any GVM managed tools.
Currently, it installs an openjdk package to satisfy this requirement, but this is likely to change very soon for the sake of flexibility.
None.
None.
- hosts: servers
roles:
- david-w-millar.gvm
The GVM / SdkMan installation scripts only update shell startup scripts the first time that it is run.
If a user changes her shell after this role is applied, subsequent applications will fail to update the new users shell startup scripts.
Until I find a more elegant solution for this problem (or someone is kind enough to issue a pull request for this project or GVM / SdkMan), you can work around this adding the following snippet to your bash compatible startup scripts,
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/Users/$(whoami)/.sdkman"
[[ -s "/Users/$(whoami)/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/$(whoami)/.sdkman/bin/sdkman-init.sh"
See this for more information.
- CI & Testing
- Automate releases and publishing
- Add vars for GVM config
- Add feature to install tools, optionally with a specified version
- Use ansigenome