From e75b16a909408b389c235c1db059a1dd9be7bbd2 Mon Sep 17 00:00:00 2001 From: Matt Crees Date: Tue, 7 Oct 2025 09:04:55 +0100 Subject: [PATCH] Add a playbook to download the community images This is useful to let us download the images before an upgrade. --- playbooks/download_images.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 playbooks/download_images.yml diff --git a/playbooks/download_images.yml b/playbooks/download_images.yml new file mode 100644 index 00000000..3b45530e --- /dev/null +++ b/playbooks/download_images.yml @@ -0,0 +1,24 @@ +--- +##### +# A minimal playbook to just download/convert/upload the community images +##### +# Get the state information for the seed and adopt it +- name: Set facts from the Terraform state of the seed node + hosts: terraform_provision + tasks: + - name: Discover k3s host and adopt it + ansible.builtin.include_role: + name: azimuth_cloud.azimuth_ops.infra + vars: + infra_readonly: true + infra_ansible_groups: + - k3s + - azimuth_deploy + +# Download, convert, and upload community images +- name: Download, convert, and upload community images + hosts: k3s + tasks: + - name: Download, convert, and upload community images + ansible.builtin.include_role: + name: azimuth_cloud.azimuth_ops.community_images