chore(ansible,awx): improve installation commands

This commit is contained in:
Michele Cereda
2025-07-28 17:25:45 +02:00
parent da27faa93e
commit a853e30c1e
3 changed files with 13 additions and 8 deletions

View File

@@ -1,9 +1,10 @@
#!/usr/bin/env sh
# Install the 'awx' client
pipx install 'awxkit'
pip3 install --user 'awxkit'
pip install 'git+https://github.com/ansible/awx.git@24.6.1#egg=awxkit&subdirectory=awxkit'
# Install the 'awx' client.
# As of 2025-07-28, Python 3.11 is the last Python version for which the AWX CLI works correctly.
pipx install --python '3.11' 'awxkit'
pip3.11 install --user 'awxkit'
pip3.11 install 'git+https://github.com/ansible/awx.git@24.6.1#egg=awxkit&subdirectory=awxkit'
# Normally `awx` would require setting the configuration every command like so:
# awx --conf.host https://awx.example.org --conf.username 'admin' --conf.password 'password' config