Browse Source

bump ansible version to 2.10

Vadim Surkov 2 years ago
parent
commit
1023512469
2 changed files with 12 additions and 8 deletions
  1. 3 2
      Dockerfile.ubi8
  2. 9 6
      files/requirements.txt

+ 3 - 2
Dockerfile.ubi8

@@ -3,9 +3,10 @@
 FROM registry.access.redhat.com/ubi8/ubi:8.4
 LABEL maintainer="surkov.v@sdsys.ru"
 
-RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
+RUN --mount=type=bind,source=./files,target=/tmp/files \
+    dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
     dnf install -y python38 openssh-clients git openssl sshpass && \
-    pip3 install ansible netaddr pbr jmespath ruamel.yaml MarkupSafe && \
+    pip3 install -r /tmp/files/requirements.txt && \
     adduser ansible
 
 USER ansible

+ 9 - 6
files/requirements.txt

@@ -1,7 +1,10 @@
-ansible==2.7.16
-jinja2==2.10.1
+ansible==3.4.0
+ansible-base==2.10.11
+cryptography==2.8
+jinja2==2.11.3
 netaddr==0.7.19
-pbr==5.2.0
-hvac==0.8.2
-jmespath==0.9.4
-ruamel.yaml==0.15.96
+pbr==5.4.4
+jmespath==0.9.5
+ruamel.yaml==0.16.10
+ruamel.yaml.clib==0.2.2
+MarkupSafe==1.1.1