forked from infra/ansible
27 lines
648 B
YAML
27 lines
648 B
YAML
|
---
|
||
|
|
||
|
- name: Python 3.12 | add GPG signing key
|
||
|
become: true
|
||
|
ansible.builtin.apt_key:
|
||
|
url: "https://pascalroeleven.nl/deb-pascalroeleven.gpg"
|
||
|
state: present
|
||
|
validate_certs: true
|
||
|
tags: install
|
||
|
|
||
|
- name: Python 3.12 | add official repository
|
||
|
become: true
|
||
|
ansible.builtin.apt_repository:
|
||
|
repo: "deb http://deb.pascalroeleven.nl/python3.12 bookworm-backports main"
|
||
|
state: present
|
||
|
filename: python312
|
||
|
update_cache: true
|
||
|
tags: install
|
||
|
|
||
|
- name: Python 3.12 | establish dependencies
|
||
|
become: true
|
||
|
ansible.builtin.apt:
|
||
|
name: "{{ item }}"
|
||
|
state: present
|
||
|
loop: "{{ python312_dependencies }}"
|
||
|
tags: install
|