For example: Ubuntu 12.04 and 14.04.
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
COPY ansible-playbook-wrapper /usr/local/bin/
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
# default command: display Ansible version
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
COPY ansible-playbook-wrapper /usr/local/bin/
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
# default command: display Ansible version
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
COPY ansible-playbook-wrapper /usr/local/bin/
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
# default command: display Ansible version
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
COPY ansible-playbook-wrapper /usr/local/bin/
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
# default command: display Ansible version
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
COPY ansible-playbook-wrapper /usr/local/bin/
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
# default command: display Ansible version
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
echo "===> Adding hosts for convenience..." && \
mkdir -p /etc/ansible && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
ENV PATH /opt/ansible/bin:$PATH
\
\
echo "===> Adding hosts for convenience..." && \
- echo '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
COPY ansible-playbook-wrapper /usr/local/bin/
\
\
echo "===> Adding hosts for convenience..." && \
- echo '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
# default command: display Ansible version
\
\
echo "===> Adding hosts for convenience..." && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
COPY ansible-playbook-wrapper /usr/local/bin/
\
\
echo "===> Adding hosts for convenience..." && \
- echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
+ echo 'localhost' > /etc/ansible/hosts
# default command: display Ansible version