From 2637b29061a8340b9cda398b74fa1956110c5721 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Mon, 18 May 2020 15:55:36 +0200 Subject: [PATCH] added starship installer --- roles/fish/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/fish/tasks/main.yml b/roles/fish/tasks/main.yml index 051e2c9..a627004 100644 --- a/roles/fish/tasks/main.yml +++ b/roles/fish/tasks/main.yml @@ -18,6 +18,12 @@ state: absent changed_when: false +- name: Install starship (root) + shell: curl -fsSL https://starship.rs/install.sh | bash -s -- --yes + args: + creates: /usr/local/bin/starship + when: ansible_user_id == 'root' + - name: check git plugin install shell: grep 'abbr.*git' ~/.config/fish/fish_variables register: gitcheck