From 57d366d79328ee5d127d05644b108bd4f7915cdc Mon Sep 17 00:00:00 2001 From: William Yeh Date: Mon, 11 Sep 2017 18:37:48 +0800 Subject: Add: Windows managed node support via "pywinrm". Remove: old distributions wheezy, precise, centos6. Remove: Ansible 1.9 was not supported in CentOS EPEL. See http://www.spinics.net/linux/fedora/epel-devel/msg00792.html --- master-debian8/Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'master-debian8') diff --git a/master-debian8/Dockerfile b/master-debian8/Dockerfile index f5ea797..d600520 100644 --- a/master-debian8/Dockerfile +++ b/master-debian8/Dockerfile @@ -17,12 +17,17 @@ RUN echo "===> Adding Ansible's prerequisites..." && \ DEBIAN_FRONTEND=noninteractive \ apt-get install --no-install-recommends -y -q \ build-essential ca-certificates \ - python-pip python-dev python-yaml \ + python python-pip python-dev \ libffi-dev libssl-dev \ libxml2-dev libxslt1-dev zlib1g-dev \ git sudo curl && \ apt-get -y --purge remove python-cffi && \ - pip install --upgrade cffi && \ + \ + \ + echo "===> Fix strange bug under Jessie: cannot import name IncompleteRead" && \ + easy_install -U pip && \ + \ + pip install --upgrade cffi pywinrm && \ pip install --upgrade pyyaml jinja2 pycrypto && \ \ \ @@ -44,6 +49,7 @@ RUN echo "===> Adding Ansible's prerequisites..." && \ \ \ echo "===> Installing handy tools (not absolutely required)..." && \ + apt-get install -y sshpass openssh-client && \ \ \ -- cgit v1.2.3