templates/packer: use python3.10 on fedora
Ansible on fedora 40 seems broken, the default python 3.12 interpreter doesn't work, 3.10 works but then the dnf module breaks. Use 3.10 and stop using the dnf module.
This commit is contained in:
parent
22e15da73c
commit
4629a31f22
3 changed files with 10 additions and 18 deletions
|
|
@ -28,9 +28,8 @@
|
|||
- name: Upgrade all packages
|
||||
tags:
|
||||
- always
|
||||
package:
|
||||
name: "*"
|
||||
state: latest
|
||||
shell: |
|
||||
sudo dnf -y update
|
||||
register: result
|
||||
retries: 5
|
||||
until: result is success
|
||||
|
|
@ -45,11 +44,8 @@
|
|||
- name: Install required packages
|
||||
tags:
|
||||
- always
|
||||
package:
|
||||
name:
|
||||
- jq
|
||||
- unzip
|
||||
- vector
|
||||
shell: |
|
||||
sudo dnf -y install jq unzip vector
|
||||
register: result
|
||||
retries: 5
|
||||
until: result is success
|
||||
|
|
@ -122,10 +118,8 @@
|
|||
tags:
|
||||
- ci
|
||||
- rhel
|
||||
package:
|
||||
name:
|
||||
- osbuild-composer-worker
|
||||
state: present
|
||||
shell: |
|
||||
sudo dnf -y install osbuild-composer-worker
|
||||
|
||||
- name: Install worker rpm from copr
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue