Skip to content

Commit 0fba76b

Browse files
author
Othmane Ouazzani
committed
Merge branch 'cp80_bug_14951_fix_docker_image_pull_alma_rocky' into 'master_8.0.x'
CP V8.0 - Bug #14951: Fixing docker installation on AlmaLinux 9 or RockyLinux 9 Update docker role to use proper docker's SDK according to Python version. See merge request vitam/vitam!10695 See merge request vitam/vitam!10700
2 parents 38cc4eb + 1c56638 commit 0fba76b

File tree

1 file changed

+2
-3
lines changed
  • deployment/ansible-vitam/roles/docker/tasks

1 file changed

+2
-3
lines changed

deployment/ansible-vitam/roles/docker/tasks/RedHat.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@
2525
until: result is succeeded
2626
delay: "{{ packages_install_retries_delay }}"
2727

28-
- name: Install docker-py package for RedHat family
28+
- name: Install Docker SDK package for RedHat family
2929
pip:
30-
name: docker-py
31-
when: ansible_os_family in ['RedHat', 'Rocky']
30+
name: "{{ 'docker-py' if ansible_python_version == '2.6' else 'docker' }}"
3231

3332
# KWA : check if still useful with newer docker versions
3433
- name: Make sure net.ipv4.ip_forward is enabled (allow port-forwarding into docker containers)

0 commit comments

Comments
 (0)