Focus local lab deployment on Linux and WSL
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
- name: Check installed Homebrew formulas
|
||||
command: "brew list --versions {{ item }}"
|
||||
loop:
|
||||
- git
|
||||
- git-lfs
|
||||
- cmake
|
||||
- node
|
||||
- python@3.11
|
||||
- ollama
|
||||
register: courseware_brew_checks
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
||||
- name: Install missing Homebrew formulas
|
||||
command: "brew install {{ item.item }}"
|
||||
loop: "{{ courseware_brew_checks.results }}"
|
||||
when: item.rc != 0
|
||||
|
||||
- name: Mark Ollama as installed by courseware on macOS
|
||||
file:
|
||||
path: "{{ courseware_ollama_install_marker }}"
|
||||
state: touch
|
||||
mode: "0644"
|
||||
when:
|
||||
- courseware_brew_checks.results
|
||||
| selectattr('item', 'equalto', 'ollama')
|
||||
| selectattr('rc', 'ne', 0)
|
||||
| list
|
||||
| length > 0
|
||||
@@ -1,8 +1,3 @@
|
||||
- name: Install macOS prerequisites
|
||||
include_tasks: macos.yml
|
||||
when: ansible_system == "Darwin"
|
||||
|
||||
- name: Install Linux prerequisites
|
||||
include_tasks: linux.yml
|
||||
when: ansible_system == "Linux"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user