Merge pull request #303 from adosztal/master

Upgraded to Ansible 2.4
This commit is contained in:
Jeremy Grossmann 2018-01-20 13:29:56 +08:00 committed by GitHub
commit fe20839f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,9 @@ FROM ubuntu:xenial
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends \ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends \
install telnet curl openssh-client nano vim-tiny iputils-ping python build-essential \ install telnet curl openssh-client nano vim-tiny iputils-ping python build-essential \
libssl-dev libffi-dev python-pip python-setuptools \ libssl-dev libffi-dev python-pip python3-pip python-setuptools \
python-dev net-tools python3 software-properties-common \ python-dev net-tools python3 software-properties-common \
&& apt-add-repository -y ppa:ansible/ansible \ && apt-add-repository -y ppa:ansible/ansible-2.4 \
&& apt-get update && apt-get -y --no-install-recommends install ansible \ && apt-get update && apt-get -y --no-install-recommends install ansible \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& pip install --upgrade pip \ && pip install --upgrade pip \