install ansible via apt

This commit is contained in:
Tobias Trabelsi 2020-10-31 17:42:54 +01:00
parent c83c16211d
commit 58c2f3da3f

View File

@ -11,11 +11,9 @@ RUN apt-get -q update \
git \
apt-utils \
curl \
ansible \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \
&& apt-get clean \
&& pip3 install --upgrade pip
RUN pip3 install ansible
&& apt-get clean
CMD ["ansible-playbook", "--help"]