apt-get install -y ansible && \
\
\
+ echo "===> Installing handy tools (not absolutely required)..." && \
+ apt-get install -y sshpass openssh-client && \
+ \
+ \
echo "===> Removing Ansible PPA..." && \
rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/ansible.list && \
\
\
echo "===> Adding hosts for convenience..." && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
# default command: display Ansible version