Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78410 - ModuleNotFoundError: No module named 'ansible'

Attached to Project: Community Packages
Opened by Aurius Bendikas Chang (aurius-bendikas-chang) - Friday, 05 May 2023, 08:35 GMT
Last edited by Toolybird (Toolybird) - Friday, 05 May 2023, 08:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I use Ansible script to perform my Archlinux installation. It has been working fine last month, but it stopped working today.

So what I do I extend 'cowspace' to fit installing git and Ansible. And then I run my Ansible script to install Archlinux.

However with version "ansible 7.5.0-2" every Ansible binary throws and error: (image attached).

However if I upgrade existing Ansible installation everything works fine.

Steps to reproduce:

1. Boot into "archlinux-2023.05.03-x86_64.iso" inside VirtualBox
2. Extend "cowspace" so we could install ansible: mount -o remount,size=768M /run/archiso/cowspace
3. Check if pacman-init.service has completed successfully with status "active (exited)": systemctl status pacman-init.service
4. Otherwise wait for pacman keyring init to be done and check again. When Status is: "active (exited)" then proceed to step 5
5. Run: pacman --sync --refresh ansible
6. Run: ansible-playbook

This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 05 May 2023, 08:57 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Friday, 05 May 2023, 08:56 GMT
ansible 7.5.0-2 needs python 3.11. The latest iso only contains python 3.10. Your procedure is essentially a partial upgrade which is unsupported.

Loading...