]> git.immae.eu Git - github/fretlink/docker-ansible.git/blobdiff - centos6/Dockerfile
Fix: newline character for CentOS 6/7 series.
[github/fretlink/docker-ansible.git] / centos6 / Dockerfile
index 8d21a6bf1b488898fabd527796e7ed2a9fa0f95e..ab34589bb44437350d5e0056893dbf715826592e 100644 (file)
@@ -40,7 +40,7 @@ RUN echo "===> Installing EPEL..."        && \
     \
     echo "===> Adding hosts for convenience..."    && \
     mkdir -p /etc/ansible                          && \
-    echo '[local]\nlocalhost\n' > /etc/ansible/hosts
+    echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts
 
 
 # default command: display Ansible version