install ansible via apt

This commit is contained in:
Tobias Trabelsi 2020-10-31 17:42:54 +01:00
parent c83c16211d
commit 58c2f3da3f
1 changed files with 2 additions and 4 deletions

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"]