Skip to content

Commit 13a3e19

Browse files
authored
docs: older version of Ansible needed for RHEL 8 (#4124)
Update our Ansible documentation to note that newer versions of Ansible are not compatible with RHEL 8 and provide the last known back-level compatible versions of `ansible` and `ansible-core` that work. Refs: https://forum.ansible.com/t/almalinux-and-python3-dnf/44262/4 Refs: https://forum.ansible.com/t/python-3-7-impact-on-el8-future-for-el9/6229/13
1 parent 2d5f918 commit 13a3e19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ansible/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
1. Follow the [instructions to install the latest version of Ansible][ansible-install].
99
* In most cases, using pip: `pip install ansible`.
10+
* Newer versions of Ansible are incompatible with some older operating systems in the inventory (e.g. RHEL 8). In those cases you will need to install an older version of Ansible, e.g. if using `pip`:
11+
```console
12+
pip install ansible-core==2.16.14 ansible==9.13
13+
```
1014
* If you use brew, then `brew install python3 ansible`, and then run
1115
`export PYTHONPATH=$(pip show pyyaml | grep Location | awk '{print $2}') `
1216
before you use `ansible-playbook`.

0 commit comments

Comments
 (0)