diff --git a/Dockerfile b/Dockerfile
index 5a2681e670163c6b4912150c0de5ec3ac1860e2a..0ce8daf9149f70c113856d0b414393abc2aa8c4c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -37,7 +37,5 @@ RUN apk --no-cache add \
         rsync \
         git \
         && \
-    mkdir -p /etc/ansible && \
-    echo 'localhost' > /etc/ansible/hosts
 COPY --from=builder /opt/ansible /opt/ansible
 CMD [ "ansible", "--version" ]