add ailab config
This commit is contained in:
1 parent
471e4c99dc
commit
6069ab5ffa
7 files changed
+220
No files matched your search
@@ -0,0 +1,16 @@
|
||||
- name: Ailab Sandbox
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
pre_tasks:
|
||||
- name: Wait for VM to finish booting and accept SSH
|
||||
ansible.builtin.wait_for_connection:
|
||||
timeout: 180
|
||||
tasks:
|
||||
- name: Install nix
|
||||
ansible.builtin.shell: curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install | sh -s -- --daemon
|
||||
args:
|
||||
creates: /nix/var/nix/profiles/default/bin/nix
|
||||
- name: Install opencode
|
||||
ansible.builtin.shell: curl -fsSL https://opencode.ai/v2/install | bash
|
||||
args:
|
||||
creates: /home/taptap/.opencode/bin/opencode
|
||||
Reference in new issue
Block a user