refactor: switch to ubuntu 26.04 lts

This commit is contained in:
2026-06-23 21:58:14 +01:00
parent 0cc8ea528a
commit 781a62c881
10 changed files with 25 additions and 47 deletions
+2
View File
@@ -0,0 +1,2 @@
---
ansible_python_interpreter: /usr/bin/python3
@@ -2,4 +2,4 @@
plugin: community.general.incus
strict: true
remotes:
- local:deskpi-cluster
- local:home-infrastructure
-3
View File
@@ -1,3 +0,0 @@
---
- name: Provision with Incus
ansible.builtin.import_playbook: playbooks/common.yaml
-22
View File
@@ -1,22 +0,0 @@
---
- name: Bootstrap - Stage 1
hosts: all
gather_facts: false
tasks:
- name: Install Python 3
ansible.builtin.raw: |
if ! command -v python3 >/dev/null 2>&1; then
apk add --no-cache python3
fi
register: apk_result
changed_when: "'OK' in apk_result.stdout or 'Installing' in apk_result.stdout"
- name: Bootstrap - Stage 2
hosts: all
tasks:
- name: Install Python 3 Libraries
ansible.builtin.package:
name: "{{ item }}"
loop:
- py3-yaml
- py3-kubernetes
+3
View File
@@ -0,0 +1,3 @@
---
- name: Install required provision packages
ansible.builtin.import_tasks: packages.yaml
+5
View File
@@ -0,0 +1,5 @@
---
- name: Upgrade all packages
ansible.builtin.package:
name: '*'
state: latest
+5
View File
@@ -0,0 +1,5 @@
---
- name: Common
hosts: all
roles:
- common