adds ollama and zed
All checks were successful
Nix Format Check / check-format (pull_request) Successful in 39s
All checks were successful
Nix Format Check / check-format (pull_request) Successful in 39s
Signed-off-by: Menno van Leeuwen <menno@vleeuwen.me>
This commit is contained in:
@@ -46,3 +46,4 @@
|
||||
- com.plexamp.Plexamp
|
||||
- io.github.nokse22.Exhibit
|
||||
- net.nokyan.Resources
|
||||
- dev.zed.Zed
|
||||
|
17
config/ansible/tasks/ollama.yml
Normal file
17
config/ansible/tasks/ollama.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- name: Check if Ollama is installed
|
||||
ansible.builtin.command: ollama --version
|
||||
register: ollama_check
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
||||
- name: Install Ollama
|
||||
ansible.builtin.shell: curl -fsSL https://ollama.com/install.sh | sh
|
||||
when: ollama_check.rc != 0
|
||||
|
||||
- name: Check if Ollama is running
|
||||
ansible.builtin.systemd:
|
||||
name: ollama
|
||||
state: started
|
||||
enabled: yes
|
||||
become: true
|
||||
register: ollama_service
|
Reference in New Issue
Block a user