diff options
author | William Yeh <william.pjyeh@gmail.com> | 2015-05-15 09:09:13 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2015-05-15 09:09:13 +0800 |
commit | d5790ee49c738ef715a208377908afc8ea0e8e65 (patch) | |
tree | 37c9edda990cfe3ed0042b0ffa38e3d5a7624d35 /ubuntu14.04-onbuild/Dockerfile | |
parent | a78235d8a46d406849dfa09d4387aa2928e5f462 (diff) | |
download | docker-ansible-d5790ee49c738ef715a208377908afc8ea0e8e65.tar.gz docker-ansible-d5790ee49c738ef715a208377908afc8ea0e8e65.tar.zst docker-ansible-d5790ee49c738ef715a208377908afc8ea0e8e65.zip |
Add: diagnosis info (ansible_* variables) in *-onbuild images.
Diffstat (limited to 'ubuntu14.04-onbuild/Dockerfile')
-rw-r--r-- | ubuntu14.04-onbuild/Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu14.04-onbuild/Dockerfile b/ubuntu14.04-onbuild/Dockerfile index c0e400f..a0e6580 100644 --- a/ubuntu14.04-onbuild/Dockerfile +++ b/ubuntu14.04-onbuild/Dockerfile | |||
@@ -36,6 +36,9 @@ COPY ansible-playbook-wrapper /usr/local/bin/ | |||
36 | ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update | 36 | ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update |
37 | ONBUILD WORKDIR /tmp | 37 | ONBUILD WORKDIR /tmp |
38 | ONBUILD COPY . /tmp | 38 | ONBUILD COPY . /tmp |
39 | ONBUILD RUN \ | ||
40 | echo "===> Diagnosis: host information..." && \ | ||
41 | ansible -c local -m setup all | ||
39 | 42 | ||
40 | 43 | ||
41 | 44 | ||