summaryrefslogtreecommitdiff
path: root/tasks/sdkman.yml
diff options
context:
space:
mode:
authorNikolaos Boutalas <nikolaos@boutalas.me>2024-01-05 03:50:50 +0200
committerNikolaos Boutalas <nikolaos@boutalas.me>2024-03-17 11:48:24 +0200
commit7217241c87516875cc6f882a9125403b97bf3e06 (patch)
tree3ddfc0e0d85d41fe141b87c099f82f676bfac545 /tasks/sdkman.yml
parent77475705a59c9c347e8face58cf17b051f84f63e (diff)
Minor changesHEADmaster
Diffstat (limited to 'tasks/sdkman.yml')
-rw-r--r--tasks/sdkman.yml20
1 files changed, 1 insertions, 19 deletions
diff --git a/tasks/sdkman.yml b/tasks/sdkman.yml
index e87a4c0..42186b7 100644
--- a/tasks/sdkman.yml
+++ b/tasks/sdkman.yml
@@ -1,6 +1,6 @@
- name: Fetch sdkman installation script
ansible.builtin.get_url:
- url: https://get.sdkman.io?rcupdate=false
+ url: https://get.sdkman.io
dest: /tmp/sdkman_install.sh
mode: '0755'
tags:
@@ -11,21 +11,3 @@
changed_when: true
tags:
- sdkman
-
-- name: Enable sdkman
- ansible.builtin.lineinfile:
- path: "~/.config/zsh/.zshrc"
- line: |
- #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
- export SDKMAN_DIR="$HOME/.sdkman"
- [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
- tags:
- - sdkman
-
-- name: Configure sdkman_auto_env
- ansible.builtin.lineinfile:
- path: "~/.sdkman/etc/config"
- regexp: '^sdkman_auto_env='
- line: sdkman_auto_env=true
- tags:
- - sdkman