add pcloud
This commit is contained in:
+6
-11
@@ -83,22 +83,17 @@
|
||||
become: false
|
||||
register: starship_binary
|
||||
|
||||
- name: Download the Starship installer
|
||||
- name: Download Starship installer script
|
||||
ansible.builtin.get_url:
|
||||
url: https://starship.rs/install.sh
|
||||
dest: /tmp/starship-install.sh
|
||||
mode: "0755"
|
||||
dest: /tmp/install_starship.sh
|
||||
mode: '0755'
|
||||
when: not starship_binary.stat.exists
|
||||
|
||||
- name: Install Starship for the workstation user
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- /tmp/starship-install.sh
|
||||
- --yes
|
||||
- --bin-dir
|
||||
- "{{ user_home }}/.local/bin"
|
||||
become: false
|
||||
- name: Run Starship installer
|
||||
ansible.builtin.command: /tmp/install_starship.sh -y
|
||||
when: not starship_binary.stat.exists
|
||||
become: true
|
||||
|
||||
- name: Check for Bun
|
||||
ansible.builtin.stat:
|
||||
|
||||
Reference in New Issue
Block a user