From 07c38b5eb79efe9aee958f189e05000df1a4194f Mon Sep 17 00:00:00 2001 From: Giles Hutton Date: Mon, 2 Dec 2024 14:15:03 +0000 Subject: [PATCH] Register SLES VMs before installing podman (#1978) --- ansible/roles/provision-vm/tasks/sles.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansible/roles/provision-vm/tasks/sles.yml b/ansible/roles/provision-vm/tasks/sles.yml index 9a71a15f0f..d8a16005a3 100644 --- a/ansible/roles/provision-vm/tasks/sles.yml +++ b/ansible/roles/provision-vm/tasks/sles.yml @@ -1,5 +1,12 @@ --- +- name: Register VM + command: registercloudguest --force-new + register: register_result + until: register_result is not failed + retries: 5 + delay: 10 + - name: Install podman community.general.zypper: name: podman