Project Setup — first run: install Ansible, copy and fill inventory and group_vars. Use for initial project setup, onboarding, or when the user asks about setup, installation, or environment configuration.
This skill guides you through the Quick Start in the project README. Use it to set up the project correctly: install Ansible, copy and fill inventory and group_vars step by step, then verify with the setup check. Follow the steps below and help the user fill in every required value.
inventory/hosts.yml or inventory/group_vars/allpip install ansible
Verify: ansible-playbook --version
cp inventory/hosts.example inventory/hosts.yml
cp inventory/group_vars/all.example inventory/group_vars/all
network_node and ml_node with ansible_host; for ML hosts add inference_node_ip (prefer private/local address). Add groups node_net_deploy, node_ml_deploy as needed, and account groups if using per-node vars. Use inventory/hosts.example as structure reference.ansible_user, ansible_ssh_private_key_file. Optionally: keyring_password, seed_host, RPC/dashboard URLs, telegram_bot_token, telegram_chat_id.cp inventory/group_vars/node.example inventory/group_vars/node1.yml
account_name, host, poc_callback_url, account_address, account_pubkey. Optionally override telegram_chat_id per node.playbooks/ml/deploy.yml, playbooks/network/deploy.yml; checks: playbooks/network/check.yml, playbooks/ml/check_poc.yml.ansible-playbook playbooks/common/ping.yml
ansible-playbook playbooks/common/check_setup.yml for a fuller check../inventory/hosts.yml, roles_path = ./rolesWhen reporting setup status, output a table with emoji: ✅ — done, ❌ — not done.
| Step | Status |
|---|---|
| 1. Ansible installed | ✅ / ❌ |
| 2. inventory/hosts.yml created from hosts.example and filled in | ✅ / ❌ |
| 3. inventory/group_vars/all created from all.example (ansible_user, key) | ✅ / ❌ |
| 4. If needed: group_vars/nodeN.yml from node.example | ✅ / ❌ |
| 5. playbooks/common/ping.yml run successfully (nodes reachable) | ✅ / ❌ |
Checklist for the user: