refactor: switch to ubuntu 26.04 lts
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user