Skip to content

Commit

Permalink
Updates images in bootstrap-images play (#2578)
Browse files Browse the repository at this point in the history
This is only kept as an example. However, it should still be up to date.

Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Jan 11, 2025
1 parent ca79354 commit 9718252
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions environments/openstack/playbook-bootstrap-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
connection: local

vars:
url_ubuntu_image: https://cloud-images.ubuntu.com/minimal/releases/jammy/release/ubuntu-22.04-minimal-cloudimg-amd64.img
url_cirros_image: https://github.com/cirros-dev/cirros/releases/download/0.6.0/cirros-0.6.0-x86_64-disk.img
url_ubuntu_image: https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img
url_cirros_image: https://github.com/cirros-dev/cirros/releases/download/0.6.3/cirros-0.6.3-x86_64-disk.img

tasks:
- name: Download cirros image
Expand All @@ -20,7 +20,7 @@
openstack.cloud.image:
cloud: admin
state: present
name: "Cirros 0.6.0"
name: "Cirros 0.6.3"
is_public: true
container_format: bare
disk_format: qcow2
Expand All @@ -31,7 +31,7 @@
distro: ubuntu
hw_rng_model: virtio

- name: Download ubuntu minimal 22.04 image
- name: Download ubuntu minimal 24.04 image
ansible.builtin.get_url:
url: "{{ url_ubuntu_image }}"
dest: /tmp/ubuntu.img
Expand All @@ -42,11 +42,11 @@
register: date
changed_when: false

- name: Upload ubuntu minimal 22.04 image
- name: Upload ubuntu minimal 24.04 image
openstack.cloud.image:
cloud: admin
state: present
name: "Ubuntu 22.04"
name: "Ubuntu 24.04"
is_public: true
container_format: bare
disk_format: qcow2
Expand All @@ -67,6 +67,6 @@
image_original_user: ubuntu
image_source: "{{ url_ubuntu_image }}"
os_distro: ubuntu
os_version: "22.04"
os_version: "24.04"
replace_frequency: never
uuid_validity: forever

0 comments on commit 9718252

Please sign in to comment.