From 77973ec0d043506eaab8eee9126de3518dc2147d Mon Sep 17 00:00:00 2001 From: sylvain Date: Mon, 9 Mar 2026 14:53:48 +0000 Subject: [PATCH] Improve DESCRIPTION for better LLM routing More explicit keywords so Nexus LLM can route requests correctly without hardcoded rules in the system prompt. Co-Authored-By: Claude Sonnet 4.6 --- agent_ansible.py | 6 ++++-- inventory/hosts | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/agent_ansible.py b/agent_ansible.py index 6341816..68a9d59 100644 --- a/agent_ansible.py +++ b/agent_ansible.py @@ -16,8 +16,10 @@ logger = logging.getLogger(__name__) class AgentAnsible(BaseAgent): AGENT_TYPE = "ansible" DESCRIPTION = ( - "Automatisation infrastructure via Ansible : " - "playbooks, commandes ad-hoc, gestion inventaire, galaxy, vault" + "Automatisation infrastructure multi-serveurs via Ansible : " + "exécuter des playbooks, lancer des commandes ad-hoc sur plusieurs machines, " + "gérer l'inventaire des hôtes, installer des rôles Galaxy, gérer les secrets Vault. " + "À utiliser pour automatiser des tâches sur un parc de serveurs distants." ) DEFAULT_CONFIG_PATH = "/opt/agent_ansible/config/config.json" diff --git a/inventory/hosts b/inventory/hosts index d48a41e..d9881fc 100644 --- a/inventory/hosts +++ b/inventory/hosts @@ -11,3 +11,7 @@ localhost ansible_connection=local # # [dbservers] # 192.168.1.20 ansible_user=root ansible_ssh_private_key_file=/root/.ssh/id_rsa + +[all] +192.168.7.100 +debian.local