From d9bf3e5c75f0c42a067a872769bfa13adf43c260 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Sat, 3 Jan 2026 21:50:05 -0500 Subject: [PATCH] chore: fixed gregtime, updated immich --- ansible/roles/podman/tasks/containers/home/gregtime.yml | 7 +++++-- ansible/roles/podman/tasks/main.yml | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ansible/roles/podman/tasks/containers/home/gregtime.yml b/ansible/roles/podman/tasks/containers/home/gregtime.yml index f6dc8ac..728eeeb 100644 --- a/ansible/roles/podman/tasks/containers/home/gregtime.yml +++ b/ansible/roles/podman/tasks/containers/home/gregtime.yml @@ -10,13 +10,15 @@ notify: restorecon podman loop: - "{{ gregtime_path }}/logs" + - "{{ gregtime_path }}/data" -- name: unshare chown the gregtime log volume +- name: unshare chown the gregtime volumes become: true become_user: "{{ podman_user }}" changed_when: false - ansible.builtin.command: | + ansible.builtin.shell: | podman unshare chown -R 1000:1000 {{ gregtime_path }}/logs + podman unshare chown -R 1000:1000 {{ gregtime_path }}/data - name: flush handlers ansible.builtin.meta: flush_handlers @@ -44,6 +46,7 @@ ZOMBOID_RCON_PASSWORD: "{{ zomboid_admin_password }}" volumes: - "{{ gregtime_path }}/logs:/app/logs" + - "{{ gregtime_path }}/data:/app/data" - name: create systemd startup job for gregtime include_tasks: podman/systemd-generate.yml diff --git a/ansible/roles/podman/tasks/main.yml b/ansible/roles/podman/tasks/main.yml index 0919021..21390a3 100644 --- a/ansible/roles/podman/tasks/main.yml +++ b/ansible/roles/podman/tasks/main.yml @@ -54,9 +54,9 @@ - import_tasks: containers/home/photos.yml vars: db_image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 - ml_image: ghcr.io/immich-app/immich-machine-learning:v2.4.0 + ml_image: ghcr.io/immich-app/immich-machine-learning:v2.4.1 redis_image: docker.io/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8 - image: ghcr.io/immich-app/immich-server:v2.4.0 + image: ghcr.io/immich-app/immich-server:v2.4.1 tags: photos - import_tasks: containers/home/cloud.yml @@ -94,7 +94,7 @@ - import_tasks: containers/home/gregtime.yml vars: - image: localhost/greg-time-bot:1.4.3 + image: localhost/greg-time-bot:1.5.2 tags: gregtime - import_tasks: containers/home/zomboid.yml