install ansible via apt
This commit is contained in:
parent
c83c16211d
commit
58c2f3da3f
@ -11,11 +11,9 @@ RUN apt-get -q update \
|
|||||||
git \
|
git \
|
||||||
apt-utils \
|
apt-utils \
|
||||||
curl \
|
curl \
|
||||||
|
ansible \
|
||||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||||
&& chmod +rx /usr/local/bin/goss \
|
&& chmod +rx /usr/local/bin/goss \
|
||||||
&& apt-get clean \
|
&& apt-get clean
|
||||||
&& pip3 install --upgrade pip
|
|
||||||
|
|
||||||
RUN pip3 install ansible
|
|
||||||
|
|
||||||
CMD ["ansible-playbook", "--help"]
|
CMD ["ansible-playbook", "--help"]
|
||||||
|
Loading…
Reference in New Issue
Block a user