Add support for Ubuntu containers and WSL verification

- Implemented tasks for managing Ubuntu containers using Podman, including inspection, creation, starting, and SSH setup.
- Added verification tasks for WSL and Podman installation, machine existence, and NSSM service status.
- Created PowerShell scripts for Podman auto-start on Windows boot.
- Introduced Prometheus role with default configurations and installation tasks.
- Updated Windows SSH role to improve authorized_keys management and permissions handling.
- Modified inventory to include Windows containers host.
- Updated Grafana datasource configurations with direct IP addresses for Prometheus instances.
This commit is contained in:
2026-06-07 20:35:59 +02:00
parent 3775fa4b6e
commit 25d3eafa5b
34 changed files with 1475 additions and 155 deletions
+5 -5
View File
@@ -55,7 +55,7 @@
loop:
- models
- .cache
- .cache/llama.cpp
- .cache/llamacpp
- name: "Add SSH Authorized key"
become: true
@@ -130,7 +130,7 @@
- name: Create pods
containers.podman.podman_container:
name: "llama.cpp"
name: "llamacpp"
image: "{{ llama_server_image }}:{{ llama_server_tag }}"
state: started
device: "{{ llama_server_devices | default(omit) }}"
@@ -159,7 +159,7 @@
become: true
ansible.builtin.template:
src: podman.service.j2
dest: "/etc/systemd/system/podman-llama.cpp.service"
dest: "/etc/systemd/system/podman-llamacpp.service"
owner: root
group: root
mode: "0644"
@@ -172,7 +172,7 @@
- name: Enable containers at boot
become: true
ansible.builtin.systemd:
name: "podman-llama.cpp"
name: "podman-llamacpp"
enabled: true
state: "started"
@@ -221,7 +221,7 @@
- name: Copy llama server Hugging Face sync helper
become: true
ansible.builtin.copy:
src: scripts/llama_hf_sync.py
src: scripts/linux/llama_hf_sync.py
dest: "{{ llama_server_home }}/models/.router/llama_hf_sync.py"
owner: "{{ llama_server_user }}"
group: "{{ llama_server_group }}"