playbooks/roles/vhosts/qmd/defaults/main.yml
Haitao Pan a5e19eff60 chore: qmd version bump, macOS container runtime deps, ignore inventory pycache
- roles/vhosts/common: add docker/docker-compose/colima to macOS brew deps
  (headless container runtime for qmd PG memory-bridge tests)
- roles/vhosts/qmd: bump qmd_version
- .gitignore: ignore inventory/__pycache__/

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 21:01:57 +08:00

39 lines
2.1 KiB
YAML

---
qmd_user: "{{ ansible_env.USER | default('ubuntu') }}"
qmd_group: "{{ 'staff' if ansible_os_family == 'Darwin' else (ansible_env.USER | default('ubuntu')) }}"
qmd_home: "{{ ansible_env.HOME | default('/home/' + qmd_user) }}"
qmd_source_repo: "https://github.com/ai-workspace-services/qmd.git"
qmd_version: "236c83a5f38d860fbf56829ba4e188c1fa2ae52b"
qmd_source_dir: "{{ qmd_home }}/.local/src/qmd"
qmd_runtime_archive: "{{ lookup('ansible.builtin.env', 'QMD_RUNTIME_ARCHIVE') | default('', true) }}"
qmd_runtime_marker: "{{ qmd_source_dir }}/.runtime-archive-sha256"
ai_workspace_prebuilt_components_required: "{{ lookup('ansible.builtin.env', 'AI_WORKSPACE_PREBUILT_COMPONENTS_REQUIRED') | default('false', true) | bool }}"
qmd_binary_path: "{{ qmd_home }}/.bun/bin/qmd"
qmd_config_dir: "{{ qmd_home }}/.config/qmd"
qmd_cache_dir: "{{ qmd_home }}/.cache/qmd"
qmd_config_dir_mode: "0775"
qmd_cache_dir_mode: "0775"
qmd_index_config_path: "{{ qmd_config_dir }}/index.yml"
qmd_index_config_mode: "0664"
qmd_env_path: "{{ qmd_config_dir }}/qmd.env"
qmd_mcp_service_name: qmd-mcp
qmd_mcp_service_unit_path: "{{ qmd_home }}/.config/systemd/user/{{ qmd_mcp_service_name }}.service"
qmd_launch_agent_label: plus.svc.xworkspace.qmd
qmd_launch_agent_path: "{{ qmd_home }}/Library/LaunchAgents/{{ qmd_launch_agent_label }}.plist"
qmd_launch_agent_log_dir: "{{ qmd_home }}/.local/state/xworkspace"
qmd_launch_agent_stdout_path: "{{ qmd_launch_agent_log_dir }}/qmd.log"
qmd_launch_agent_stderr_path: "{{ qmd_launch_agent_log_dir }}/qmd.err.log"
qmd_service_uid: ""
qmd_mcp_host: 127.0.0.1
qmd_mcp_port: 8181
qmd_mcp_url: "http://localhost:{{ qmd_mcp_port }}/mcp"
qmd_embed_api_base_url: "http://127.0.0.1:4000/v1"
qmd_embed_model: "text-embedding-3-small"
qmd_embed_api_key: "{{ lookup('ansible.builtin.env', 'AI_WORKSPACE_AUTH_TOKEN') | default('', true) }}"
qmd_collections:
openclaw-workspace:
path: "{{ qmd_home }}/.openclaw/workspace"
pattern: "**/*.md"
context:
"": OpenClaw workspace long-term memory, daily notes, user context, local tools notes, generated plans and markdown artifacts.