From ec0a2e7939c2da884b627943f930fa299523d896 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sat, 4 Jan 2025 08:53:51 +0100
Subject: [PATCH] Update auxiliary container images too

---
 roles/jupyter/tasks/containerssh.yml | 7 ++++++-
 roles/jupyter/tasks/jupyter.yml      | 6 ++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/roles/jupyter/tasks/containerssh.yml b/roles/jupyter/tasks/containerssh.yml
index 3674fa5..041a957 100644
--- a/roles/jupyter/tasks/containerssh.yml
+++ b/roles/jupyter/tasks/containerssh.yml
@@ -20,4 +20,9 @@
     group: containerssh
     mode: "0640"
   notify: reload containerssh
-  
+
+- name: Pull auxiliary container images
+  ansible.builtin.command:
+    cmd: "podman pull {{ item }}"
+  loop:
+    - "registry.git.autistici.org/ula/images/ssh-runner:main"
diff --git a/roles/jupyter/tasks/jupyter.yml b/roles/jupyter/tasks/jupyter.yml
index cfa4ba4..41903e6 100644
--- a/roles/jupyter/tasks/jupyter.yml
+++ b/roles/jupyter/tasks/jupyter.yml
@@ -157,3 +157,9 @@
         /run/podman: /run/podman
       env:
         DOCKER_HOST: "unix:///run/podman/podman.sock"
+
+- name: Pull auxiliary container images
+  ansible.builtin.command:
+    cmd: "podman pull {{ item }}"
+  loop:
+    - "registry.git.autistici.org/ula/images/jupyter-notebook:main"
-- 
GitLab