This commit is contained in:
2026-03-20 13:20:58 +01:00
commit 2af73b780b
27 changed files with 333 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
---
- name: Create Ollama Directories
ansible.builtin.file:
state: directory
path: "{{ ollama_install_dir }}/{{ item }}"
loop:
- data
- compose
- name: Pull Ollama Image
community.docker.docker_image:
source: pull
name: "{{ ollama_image }}:{{ ollama_image_tag }}"
- name: Copy composefile
ansible.builtin.template:
src: templates/composefile.yml
dest: "{{ ollama_install_dir }}/compose/composefile.yml"