added git as a dependency of ansible galaxy

This commit is contained in:
Tobias Trabelsi 2019-10-08 21:53:22 +02:00
parent e82200abfc
commit 1dcddacca3
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
FROM centos:7 FROM centos:7
RUN yum -y install epel-release \ RUN yum -y install epel-release \
&& yum -y install ansible \ && yum -y install ansible git \
&& yum clean headers \ && yum clean headers \
&& yum clean packages && yum clean packages

View File

@ -8,6 +8,7 @@ RUN apt-get update \
&& apt-get update \ && apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
ansible \ ansible \
git \
&& apt-get clean && apt-get clean
CMD ["ansible-playbook", "--help"] CMD ["ansible-playbook", "--help"]