Skip to content

Conversation

@0x6d6f7468
Copy link
Contributor

Install Ansible using pipx instead of using Linux package managers. Requires pipx as an additional dependency.

Resolves a version conflict issue for RPM distributions that occurs when installing to a remote Ubuntu target. dnf provides ansible core version 2.14.18, pipx provides version 2.15.13, which includes a back-ported patch for this issue.

@SamuelCarroll
Copy link

Privately contacted, but ran into an issue running this on Ubuntu 22 and Ubuntu 24.

@SamuelCarroll
Copy link

Tested locally with Ubuntu 22, 24, Centos, and Rocky all look good to me

@0x6d6f7468 0x6d6f7468 marked this pull request as ready for review November 20, 2025 23:12
@0x6d6f7468
Copy link
Contributor Author

0x6d6f7468 commented Nov 21, 2025

Testing left to complete:

  • Ubuntu
  • Ubuntu -> CentOS
  • Ubuntu -> Rocky
  • Ubuntu -> RHEL
  • CentOS
  • CentOS -> Ubuntu
  • CentOS -> Rocky
  • CentOS -> RHEL
  • Rocky
  • Rocky -> Ubuntu
  • Rocky -> CentOS
  • Rocky -> RHEL
  • RHEL
  • RHEL -> Ubuntu
  • RHEL -> CentOS
  • RHEL -> Rocky

Testing performed on DigitalOcean droplets using snapshots. All four snapshots restored after installation testing from each distro (local + all remotes).

@0x6d6f7468 0x6d6f7468 marked this pull request as draft November 21, 2025 18:39
@0x6d6f7468
Copy link
Contributor Author

0x6d6f7468 commented Nov 21, 2025

Ansible Core 2.20 (default version on Ubuntu 24.04 via pipx) deprecates things and makes breaking changes to some playbook syntax, so I'm going to try pinning Ansible version >2.15.3 to avoid needing to make a lot of breaking changes. We may need to revisit in the future, but I don't think now is the time. Converting this back into a draft until local/remote install testing against all supported distros is complete.

@0x6d6f7468 0x6d6f7468 marked this pull request as ready for review November 22, 2025 00:29
@lisaSW lisaSW merged commit 952a426 into develop Nov 24, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants