From d5790ee49c738ef715a208377908afc8ea0e8e65 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Fri, 15 May 2015 09:09:13 +0800 Subject: Add: diagnosis info (ansible_* variables) in *-onbuild images. --- debian8-onbuild/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian8-onbuild') diff --git a/debian8-onbuild/Dockerfile b/debian8-onbuild/Dockerfile index 04eadb5..5db6cdf 100644 --- a/debian8-onbuild/Dockerfile +++ b/debian8-onbuild/Dockerfile @@ -40,6 +40,9 @@ COPY ansible-playbook-wrapper /usr/local/bin/ ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update ONBUILD WORKDIR /tmp ONBUILD COPY . /tmp +ONBUILD RUN \ + echo "===> Diagnosis: host information..." && \ + ansible -c local -m setup all -- cgit v1.2.3