Skip to content

Commit

Permalink
chore(deps): update dependency ansible to v9 (#674)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency ansible to v9

* fixed ansible

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gareth Healy <[email protected]>
  • Loading branch information
renovate[bot] and garethahealy authored Dec 13, 2023
1 parent 416b0b9 commit fb6e6c0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions jenkins-agents/jenkins-agent-ansible/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM quay.io/openshift/origin-jenkins-agent-base:4.9@sha256:94025d11174dbf836427236733d1b82010a21cf83c5321ec168db761fc2c28e7

# renovate: datasource=pypi depName=ansible
ARG ANSIBLE_VERSION=2.10.7
# renovate: datasource=pypi depName=ansible-core
ARG ANSIBLE_CORE_VERSION=2.16.2

LABEL \
release="1" \
Expand All @@ -20,11 +20,9 @@ ARG PIP_PKGS="\
paramiko \
openshift \
kubernetes \
ansible==${ANSIBLE_VERSION} \
"
ARG DNF_PKGS="\
python38-pip \
ansible-core==${ANSIBLE_CORE_VERSION} \
"
ARG DNF_PKGS="python311"

ADD ubi8.repo /tmp/ubi8.repo

Expand All @@ -34,7 +32,9 @@ RUN set -x \
&& dnf install ${DNF_FLAGS} ${DNF_PKGS} \
&& dnf ${DNF_FLAGS} clean all \
&& rm -rf /var/cache/dnf \
&& alternatives --set python3 /usr/bin/python3.8 \
&& alternatives --set python3 /usr/bin/python3.11 \
&& python3 -m ensurepip --default-pip \
&& python3 -m pip install --upgrade pip \
&& python3 -m pip install ${PIP_PKGS} \
&& chmod -R 775 /etc/alternatives \
&& chmod -R 775 /var/lib/alternatives \
Expand Down

0 comments on commit fb6e6c0

Please sign in to comment.