mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(ansible,awx): improve installation commands
This commit is contained in:
@@ -60,9 +60,13 @@
|
||||
<details>
|
||||
<summary>Setup</summary>
|
||||
|
||||
> [!tip]
|
||||
> Prefer installing Ansible in a project's Python virtual environment.
|
||||
|
||||
```sh
|
||||
# Install.
|
||||
pip3 install --user 'ansible'
|
||||
pipx install 'ansible'
|
||||
pip3 install --user --require-virtualenv 'ansible'
|
||||
brew install 'ansible' 'sshpass' # darwin
|
||||
sudo pamac install 'ansible' 'sshpass' # manjaro linux
|
||||
|
||||
@@ -1688,7 +1692,6 @@ Another _better (?)_ solution in playbooks/roles would be to sanitize the input
|
||||
[Rundeck]: rundeck.md
|
||||
[Semaphore UI]: semaphoreui.md
|
||||
|
||||
|
||||
<!-- Files -->
|
||||
[examples]: ../examples/ansible/
|
||||
[examples templating]: ../examples/ansible/templating.yml
|
||||
|
||||
@@ -958,8 +958,9 @@ AWX offers the `awx` client CLI tool:
|
||||
|
||||
```sh
|
||||
# Install the 'awx' client
|
||||
pipx install 'awxkit'
|
||||
pip3 install --user 'awxkit'
|
||||
# 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'
|
||||
```
|
||||
|
||||
> [!tip]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user