refactor(ansible): rename freecad_mcp env vars and rework deployment
- Drop `FREECAD_MCP_` prefix from env vars (use `FREECAD_*`) - Update freecad_mcp port from 22032 to 22061 - Document that FreeCAD bridge is required for tool calls - Replace kottos deployment with pallas deployment
This commit is contained in:
34
ansible/kottos/remove.yml
Normal file
34
ansible/kottos/remove.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
- name: Remove Kottos AI Agent Platform
|
||||
hosts: ubuntu
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- name: Check if host has kottos service
|
||||
ansible.builtin.set_fact:
|
||||
has_kottos_service: "{{ 'kottos' in services | default([]) }}"
|
||||
|
||||
- name: Skip hosts without kottos service
|
||||
ansible.builtin.meta: end_host
|
||||
when: not has_kottos_service
|
||||
|
||||
- name: Stop and disable kottos service
|
||||
ansible.builtin.systemd:
|
||||
name: kottos
|
||||
state: stopped
|
||||
enabled: false
|
||||
ignore_errors: true
|
||||
|
||||
- name: Remove systemd service file
|
||||
ansible.builtin.file:
|
||||
path: /etc/systemd/system/kottos.service
|
||||
state: absent
|
||||
|
||||
- name: Reload systemd daemon
|
||||
ansible.builtin.systemd:
|
||||
daemon_reload: true
|
||||
|
||||
- name: Remove Kottos directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ kottos_directory }}"
|
||||
state: absent
|
||||
Reference in New Issue
Block a user