core: upgrade ansible to use 2.20.X
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
FROM debian:trixie-slim
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ENV TZ=Europe/Berlin
|
||||
ENV ANSIBLE_MAJOR_VERSION=2.18
|
||||
ENV ANSIBLE_MAJOR_VERSION=2.20
|
||||
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
RUN apt update && apt install -y --no-install-recommends \
|
||||
@@ -19,7 +19,7 @@ RUN mkdir -p /etc/ssh/ssh_config.d \
|
||||
&& printf 'Host *\n StrictHostKeyChecking no\n UserKnownHostsFile /dev/null\n' > /etc/ssh/ssh_config.d/99-no-hostkey-check.conf
|
||||
|
||||
RUN pip3 install --no-cache-dir --upgrade \
|
||||
ansible-core~=${ANSIBLE_MAJOR_VERSION}
|
||||
ansible-core~=${ANSIBLE_MAJOR_VERSION}
|
||||
|
||||
RUN mkdir -p /root/.bashrc.d
|
||||
COPY ansible-functs.sh /root/.bashrc.d/ansible-functs.sh
|
||||
|
||||
Reference in New Issue
Block a user