Skip to content

Commit

Permalink
fix(ansible): add explicit dependency on community.docker collection (#…
Browse files Browse the repository at this point in the history
…5746)

- Old community.docker versions not compatible with `requests` python package
>= 2.32.0, leading to errors when executing the `kind` role
- Update docs
  • Loading branch information
lc525 authored Jul 15, 2024
1 parent da9ef7b commit 26b7f07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ansible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ For production use cases follow [Helm installation](https://docs.seldon.io/proje
Provided Ansible playbooks and roles depends on [kubernetes.core](https://github.com/ansible-collections/kubernetes.core) Ansible Collection for performing `kubectl` and `helm` operations.
Check Ansible [documentation] for further information.

We provide a make target to install Ansible together with dependencies and any required collections.
Run the following from the `ansible` directory:

To install Ansible and required collections
```bash
pip install ansible openshift kubernetes docker
ansible-galaxy collection install kubernetes.core
make install_deps_stable
```

We have tested provided instructions on Python 3.8 - 3.11 with following version of Python libraries
Expand Down
2 changes: 2 additions & 0 deletions ansible/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
collections:
- name: kubernetes.core
version: 2.4.0
- name: community.docker
version: 3.10.4

0 comments on commit 26b7f07

Please sign in to comment.