Skip to content

Commit ca062ff

Browse files
authored
Add a playbook to download the community images (#986)
This is useful to let us download the images before an upgrade.
1 parent cbc3733 commit ca062ff

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

playbooks/download_images.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
#####
3+
# A minimal playbook to just download/convert/upload the community images
4+
#####
5+
# Get the state information for the seed and adopt it
6+
- name: Set facts from the Terraform state of the seed node
7+
hosts: terraform_provision
8+
tasks:
9+
- name: Discover k3s host and adopt it
10+
ansible.builtin.include_role:
11+
name: azimuth_cloud.azimuth_ops.infra
12+
vars:
13+
infra_readonly: true
14+
infra_ansible_groups:
15+
- k3s
16+
- azimuth_deploy
17+
18+
# Download, convert, and upload community images
19+
- name: Download, convert, and upload community images
20+
hosts: k3s
21+
tasks:
22+
- name: Download, convert, and upload community images
23+
ansible.builtin.include_role:
24+
name: azimuth_cloud.azimuth_ops.community_images

0 commit comments

Comments
 (0)