feat: add Zed Editor installation tasks and include in workstation setup
This commit is contained in:
@@ -71,7 +71,6 @@
|
||||
- io.github.flattool.Warehouse
|
||||
- io.github.nokse22.Exhibit
|
||||
- net.nokyan.Resources
|
||||
- dev.zed.Zed
|
||||
- io.github.flattool.Ignition
|
||||
- io.github.bytezz.IPLookup
|
||||
- org.gaphor.Gaphor
|
||||
|
@@ -31,6 +31,9 @@
|
||||
- name: Include Firefox PWA tasks
|
||||
ansible.builtin.import_tasks: tasks/workstations/firefoxpwa.yml
|
||||
|
||||
- name: Include Zed Editor tasks
|
||||
ansible.builtin.import_tasks: tasks/workstations/zed-editor.yml
|
||||
|
||||
- name: Ensure workstation common packages are installed
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
|
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