Update ubuntu to plucky release

This commit is contained in:
2025-06-17 03:57:58 +02:00
parent 919c44bb29
commit 06823044dd
3 changed files with 18 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ This playbook supports multiple Linux distributions with specific versions tailo
| rhel9 | Red Hat Enterprise Linux 9 | | rhel9 | Red Hat Enterprise Linux 9 |
| rhel10 | Red Hat Enterprise Linux 10 | | rhel10 | Red Hat Enterprise Linux 10 |
| rocky | Rocky Linux 9.x | | rocky | Rocky Linux 9.x |
| ubuntu | Ubuntu 24.10 (Oracular Oriole) | | ubuntu | Ubuntu 25.04 (Plucky Puffin) |
| ubuntu-lts | Ubuntu 24.04 LTS (Noble Numbat) | | ubuntu-lts | Ubuntu 24.04 LTS (Noble Numbat) |
# Documentation # Documentation

View File

@@ -24,7 +24,7 @@
changed_when: result.rc == 0 changed_when: result.rc == 0
register: result register: result
with_items: with_items:
- debootstrap --include={{ vars[os].base | join(',') }} {{ 'oracular' if os == 'ubuntu' else 'noble' }} - debootstrap --include={{ vars[os].base | join(',') }} {{ 'plucky' if os == 'ubuntu' else 'noble' }}
/mnt http://archive.ubuntu.com/ubuntu/ /mnt http://archive.ubuntu.com/ubuntu/
- ln -sf /run/NetworkManager/resolv.conf /mnt/etc/resolv.conf - ln -sf /run/NetworkManager/resolv.conf /mnt/etc/resolv.conf
- arch-chroot /mnt sed -i '1s|$| universe|' /etc/apt/sources.list - arch-chroot /mnt sed -i '1s|$| universe|' /etc/apt/sources.list

View File

@@ -81,6 +81,22 @@
ansible.builtin.wait_for: ansible.builtin.wait_for:
timeout: 15 timeout: 15
- name: Setup Pacman
community.general.pacman:
update_cache: true
force: true
name: "{{ item.name }}"
state: latest
loop:
- { name: glibc }
- { name: dnf, os: [almalinux, fedora, rhel8, rhel9, rhel10, rocky] }
- { name: debootstrap, os: [debian11, debian12, ubuntu, ubuntu-lts] }
- { name: debian-archive-keyring, os: [debian11, debian12] }
- { name: ubuntu-keyring, os: [ubuntu, ubuntu-lts] }
when: "'os' not in item or os in item.os"
retries: 4
delay: 15
- name: Prepare /iso mount and repository for RHEL-based systems - name: Prepare /iso mount and repository for RHEL-based systems
when: os | lower in ["rhel8", "rhel9", "rhel10"] when: os | lower in ["rhel8", "rhel9", "rhel10"]
block: block: