Browse Source

First ansible build

Vadim Surkov 6 năm trước cách đây
mục cha
commit
b389e15ebf
2 tập tin đã thay đổi với 14 bổ sung0 xóa
  1. 9 0
      Dockerfile
  2. 5 0
      files/requirements.txt

+ 9 - 0
Dockerfile

@@ -0,0 +1,9 @@
+# syntax = tonistiigi/dockerfile:runmount20180618
+
+FROM centos:7.5.1804
+LABEL maintainer="surkov.v@sdsys.ru"
+
+RUN --mount=type=bind,source=./files,target=/tmp/files \
+    yum install -y epel-release \
+    && yum install -y python2-pip \
+    && pip install -r /tmp/files/requirements.txt

+ 5 - 0
files/requirements.txt

@@ -0,0 +1,5 @@
+ansible>=2.5.0,!=2.7.0
+jinja2>=2.9.6
+netaddr
+pbr>=1.6
+hvac