Commit e422e993 authored by nimrod's avatar nimrod
Browse files

Fix the Ansible install.

`ansible-galaxy` requires an older version of `resolvelib`, so add a pip
constraints file to install the needed version.
parent 7d2d37ed
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -156,6 +156,8 @@ RUN apt-get update && \
    && \
    sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/; s/# en_IL UTF-8/en_IL UTF-8/; s/# he_IL.UTF-8 UTF-8/he_IL.UTF-8 UTF-8/;' /etc/locale.gen && \
    locale-gen && \
    export PIP_CONSTRAINT=/tmp/constraint.txt && \
    echo 'resolvelib==0.5.4' > "$PIP_CONSTRAINT" && \
    python3 -m pip install --use-deprecated=legacy-resolver --no-cache-dir --break-system-packages \
        https://github.com/aws/aws-cli/archive/refs/heads/v2.zip \
        ansible \