[sonic-mgmt]: install ansible 2.8.7 and pytest-ansible 2.2.2 (#3776)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
This commit is contained in:
lguohan 2019-11-19 22:52:29 -08:00 committed by GitHub
parent fc495dc10e
commit 5466bb5326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ RUN pip install azure-kusto-data==0.0.13 \
azure-kusto-ingest==0.0.13
# Install pytest-ansible module
RUN pip install pytest-ansible==2.0.2
RUN pip install pytest-ansible==2.2.2
## Copy and install sonic-mgmt docker dependencies
COPY \
@ -90,8 +90,7 @@ RUN dpkg -i \
debs/{{ deb }}{{' '}}
{%- endfor %}
RUN git clone https://github.com/ansible/ansible
RUN cd ansible && git checkout v2.0.0.2-1 -b v2.0.0.2-1 && git submodule update --init --recursive && make && make install
RUN pip install ansible==2.8.7
RUN mkdir /var/run/sshd
EXPOSE 22