diff --git a/.continue/mcpServers/arango.json b/.continue/mcpServers/arango.json new file mode 100644 index 0000000..39cfbd3 --- /dev/null +++ b/.continue/mcpServers/arango.json @@ -0,0 +1,54 @@ +// mcpServers: +// - name: arangodb +// type: sse +// url: "http://192.168.0.113:3001/sse" + +{ + "mcpServers": { + "arango-lxc": { + "type": "sse", + "url": "http://192.168.0.113:3001/sse" + } + } +} +// { +// // "ui": { +// // "approveToolsAutomatically": true +// // }, +// // { +// // "name": "arango-lxc", +// // "type": "sse", +// // "url": "http://192.168.0.113:3001/sse" + +// "arango-lxc": { +// "type": "sse", +// "url": "http://192.168.0.113:3001/sse" +// // , +// //"tools": true +// } + +// } + +// // name: arango +// // version: 0.0.1 +// // schema: v1 + +// // # schema: https://modelcontextprotocol.io +// // # transport: streamable-http +// // # url: "http://192.168.0.113:3001/sse" +// // mcpServers: +// // - name: arango-lxc +// // #version: 1.0.0 +// // #schema: https://modelcontextprotocol.io +// // #transport: streamable-http +// // type: sse +// // url: "http://192.168.0.113:3001 + +// // # mcpServers: +// // # - name: arango-lxc +// // # version: 1.0.0 +// // # schema: https://modelcontextprotocol.io +// // # transport: streamable-http +// // # type: sse +// // # url: "http://192.168.0.113:3001/sse" + diff --git a/config.json b/config.json new file mode 100644 index 0000000..32f7952 --- /dev/null +++ b/config.json @@ -0,0 +1,45 @@ +// { +// "models": [ +// { +// //"apiBase": "http://gpu-slut.guaranteedstruggle.host:3100/ollama/", +// "apiBase": "http://localhost:11434/", +// //"title": "Qwen3-Coder-30B-A3B-Instruct-1M-Unsloth", +// "title": "llama3.1:8b", +// "provider": "ollama", +// //"model": "codestral:22b", +// //"model": "danielsheep/Qwen3-Coder-30B-A3B-Instruct-1M-Unsloth:UD-IQ3_XXS", +// "model": "llama3.1:8b", +// "apiKey": "YXNkZjphc2Rm" +// } +// ], +// // "mcpServers": [ +// // { +// // "name": "arango-lxc", +// // "type": "sse", +// // "url": "http://192.168.0.113:3001/sse" +// // } +// // ], +// "customCommands": [ +// { +// "name": "test", +// "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.", +// "description": "Write unit tests for highlighted code" +// }, +// { +// "name": "logs-py", +// "prompt": "{{{ input }}}\n\nWrite a comprehensive logging for the selected code. It should help understanding what happend and how many items were affected. If in code there're possibility for errors then also log error count", +// "description": "Write unit tests for highlighted code" +// } +// ], +// "tabAutocompleteModel": { +// //"title": "Qwen3-Coder-30B-A3B-Instruct-1M-Unsloth", +// "title": "llama3.1:8b", +// "provider": "ollama", +// // "model": "danielsheep/Qwen3-Coder-30B-A3B-Instruct-1M-Unsloth:UD-IQ3_XXS" +// "model": "llama3.1:8b" +// }, +// "embeddingsProvider": { +// "provider": "transformers.js" +// }, +// "docs": [] +// } \ No newline at end of file diff --git a/environments/just-created/hosts.yml b/environments/just-created/hosts.yml index 7dbae26..6af8c71 100644 --- a/environments/just-created/hosts.yml +++ b/environments/just-created/hosts.yml @@ -27,7 +27,7 @@ lxc: # keys must be unique, i.e. only one 'hosts' per group #harbor.guaranteedstruggle.host: #gpu-slut.guaranteedstruggle.host: #gemini-slut.guaranteedstruggle.host: - root-ca.guaranteedstruggle.host: + #root-ca.guaranteedstruggle.host: #etcd.guaranteedstruggle.host: #prometheus.guaranteedstruggle.host: diff --git a/environments/proxmoxes/hosts.yml b/environments/proxmoxes/hosts.yml index ecbd540..58dcb49 100644 --- a/environments/proxmoxes/hosts.yml +++ b/environments/proxmoxes/hosts.yml @@ -97,3 +97,6 @@ lxc: # # pg.just-for-me.internal: # # grafana.just-for-me.internal: # # price-loader.just-for-me.internal: + + #gpu-slut.guaranteedstruggle.host: + root-ca.guaranteedstruggle.host: \ No newline at end of file diff --git a/playbooks/_common-setup.yml b/playbooks/_common-setup.yml index a458306..3e07e63 100644 --- a/playbooks/_common-setup.yml +++ b/playbooks/_common-setup.yml @@ -23,4 +23,5 @@ - import_playbook: packages.yml - import_playbook: resolvconf.yml - import_playbook: users.yml -- import_playbook: exporters.yml \ No newline at end of file +- import_playbook: exporters.yml +- import_playbook: pmc314-ca.yml \ No newline at end of file diff --git a/playbooks/pmc314-ca.yml b/playbooks/pmc314-ca.yml new file mode 100644 index 0000000..e2df833 --- /dev/null +++ b/playbooks/pmc314-ca.yml @@ -0,0 +1,19 @@ +--- +- name: Install root CA certificate on Debian nodes + hosts: all + become: true + tasks: + - name: Copy root CA certificate to trust store + ansible.builtin.get_url: + url: http://example.lan + dest: /usr/local/share/ca-certificates/pmc314_root-ca.crt + owner: root + group: root + mode: '0644' + # Игнорируем ошибку недоверенного SSL при первом подключении + validate_certs: false + register: ca_cert_downloaded + + - name: Update CA certificates certificates store + ansible.builtin.command: update-ca-certificates + when: ca_cert_downloaded.changed \ No newline at end of file