initial commit
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
22
roles/setup/tasks/git_delta_atuin.yml
Normal file
22
roles/setup/tasks/git_delta_atuin.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: Download git-delta deb
|
||||
get_url:
|
||||
url: https://github.com/dandavison/delta/releases/download/0.18.2/git-delta-musl_0.18.2_amd64.deb
|
||||
dest: "/tmp/git-delta-musl_0.18.2_amd64.deb"
|
||||
|
||||
- name: Install git-delta
|
||||
apt:
|
||||
deb: "/tmp/git-delta-musl_0.18.2_amd64.deb"
|
||||
state: present
|
||||
|
||||
- name: Remove git-delta deb
|
||||
file:
|
||||
path: "/tmp/git-delta-musl_0.18.2_amd64.deb"
|
||||
state: absent
|
||||
|
||||
- name: Install atuin
|
||||
become: false
|
||||
shell: curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
|
||||
args:
|
||||
creates: "{{ ansible_env.HOME }}/.config/atuin" # Adjust based on atuin installation
|
||||
|
||||
Reference in New Issue
Block a user