Add task for installing IBM Bob Shell

This commit is contained in:
Fabio Scotto di Santolo
2026-05-23 11:35:44 +02:00
parent c65aab1529
commit f4b9b35c4e
2 changed files with 14 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
--- ---
workstation_manage_opencode: true workstation_manage_opencode: true
workstation_manage_ibm_bob: true
workstation_ibm_bob_install_url: "https://bob.ibm.com/download/bobshell.sh"
workstation_npm_packages: "{{ ai_agents_npm_packages + [] }}" workstation_npm_packages: "{{ ai_agents_npm_packages + [] }}"

View File

@@ -48,3 +48,15 @@
- workstation_npm_packages | length > 0 - workstation_npm_packages | length > 0
loop_control: loop_control:
label: "{{ item.name }}" label: "{{ item.name }}"
- name: Install IBM Bob coding agent
tags: [packages, ai_agents]
ansible.builtin.shell: >
curl -fsSL {{ workstation_ibm_bob_install_url }} | bash
args:
executable: /bin/bash
creates: /usr/local/bin/bob
become: true
when:
- workstation_manage_ibm_bob | default(false)
- workstation_ibm_bob_install_url | length > 0