feat: add Zed Editor installation tasks and include in workstation setup
This commit is contained in:
11
config/ansible/tasks/workstations/zed-editor.yml
Normal file
11
config/ansible/tasks/workstations/zed-editor.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: Check if Zed Editor is installed
|
||||
ansible.builtin.command:
|
||||
cmd: zed --version
|
||||
register: zed_version
|
||||
ignore_errors: true
|
||||
|
||||
- name: Install Zed Editor
|
||||
ansible.builtin.command:
|
||||
cmd: curl -f https://zed.dev/install.sh | sh
|
||||
ignore_errors: true
|
||||
when: zed_version.rc != 0
|
||||
Reference in New Issue
Block a user