diff options
author | William Yeh <william.pjyeh@gmail.com> | 2017-09-11 18:37:48 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2017-09-13 17:44:29 +0800 |
commit | 57d366d79328ee5d127d05644b108bd4f7915cdc (patch) | |
tree | a10900020176785d9732634ae5baac2ddb4734a5 /master-debian8 | |
parent | 7d885c87026bc44450b79f504b9a5becf0969783 (diff) | |
download | docker-ansible-57d366d79328ee5d127d05644b108bd4f7915cdc.tar.gz docker-ansible-57d366d79328ee5d127d05644b108bd4f7915cdc.tar.zst docker-ansible-57d366d79328ee5d127d05644b108bd4f7915cdc.zip |
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
Diffstat (limited to 'master-debian8')
-rw-r--r-- | master-debian8/Dockerfile | 10 |
1 files changed, 8 insertions, 2 deletions
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..." && \ | |||
17 | DEBIAN_FRONTEND=noninteractive \ | 17 | DEBIAN_FRONTEND=noninteractive \ |
18 | apt-get install --no-install-recommends -y -q \ | 18 | apt-get install --no-install-recommends -y -q \ |
19 | build-essential ca-certificates \ | 19 | build-essential ca-certificates \ |
20 | python-pip python-dev python-yaml \ | 20 | python python-pip python-dev \ |
21 | libffi-dev libssl-dev \ | 21 | libffi-dev libssl-dev \ |
22 | libxml2-dev libxslt1-dev zlib1g-dev \ | 22 | libxml2-dev libxslt1-dev zlib1g-dev \ |
23 | git sudo curl && \ | 23 | git sudo curl && \ |
24 | apt-get -y --purge remove python-cffi && \ | 24 | apt-get -y --purge remove python-cffi && \ |
25 | pip install --upgrade cffi && \ | 25 | \ |
26 | \ | ||
27 | echo "===> Fix strange bug under Jessie: cannot import name IncompleteRead" && \ | ||
28 | easy_install -U pip && \ | ||
29 | \ | ||
30 | pip install --upgrade cffi pywinrm && \ | ||
26 | pip install --upgrade pyyaml jinja2 pycrypto && \ | 31 | pip install --upgrade pyyaml jinja2 pycrypto && \ |
27 | \ | 32 | \ |
28 | \ | 33 | \ |
@@ -44,6 +49,7 @@ RUN echo "===> Adding Ansible's prerequisites..." && \ | |||
44 | \ | 49 | \ |
45 | \ | 50 | \ |
46 | echo "===> Installing handy tools (not absolutely required)..." && \ | 51 | echo "===> Installing handy tools (not absolutely required)..." && \ |
52 | |||
47 | apt-get install -y sshpass openssh-client && \ | 53 | apt-get install -y sshpass openssh-client && \ |
48 | \ | 54 | \ |
49 | \ | 55 | \ |