aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2015-05-15 09:09:13 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2015-05-15 09:09:13 +0800
commitd5790ee49c738ef715a208377908afc8ea0e8e65 (patch)
tree37c9edda990cfe3ed0042b0ffa38e3d5a7624d35
parenta78235d8a46d406849dfa09d4387aa2928e5f462 (diff)
downloaddocker-ansible-d5790ee49c738ef715a208377908afc8ea0e8e65.tar.gz
docker-ansible-d5790ee49c738ef715a208377908afc8ea0e8e65.tar.zst
docker-ansible-d5790ee49c738ef715a208377908afc8ea0e8e65.zip
Add: diagnosis info (ansible_* variables) in *-onbuild images.
-rw-r--r--centos6-onbuild/Dockerfile3
-rw-r--r--centos7-onbuild/Dockerfile3
-rw-r--r--debian7-onbuild/Dockerfile3
-rw-r--r--debian8-onbuild/Dockerfile3
-rw-r--r--ubuntu12.04-onbuild/Dockerfile3
-rw-r--r--ubuntu14.04-onbuild/Dockerfile3
6 files changed, 18 insertions, 0 deletions
diff --git a/centos6-onbuild/Dockerfile b/centos6-onbuild/Dockerfile
index cb96493..85f1e18 100644
--- a/centos6-onbuild/Dockerfile
+++ b/centos6-onbuild/Dockerfile
@@ -43,6 +43,9 @@ COPY ansible-playbook-wrapper /usr/local/bin/
43 43
44ONBUILD WORKDIR /tmp 44ONBUILD WORKDIR /tmp
45ONBUILD COPY . /tmp 45ONBUILD COPY . /tmp
46ONBUILD RUN \
47 echo "===> Diagnosis: host information..." && \
48 ansible -c local -m setup all
46 49
47 50
48 51
diff --git a/centos7-onbuild/Dockerfile b/centos7-onbuild/Dockerfile
index d668cba..64233d8 100644
--- a/centos7-onbuild/Dockerfile
+++ b/centos7-onbuild/Dockerfile
@@ -43,6 +43,9 @@ COPY ansible-playbook-wrapper /usr/local/bin/
43 43
44ONBUILD WORKDIR /tmp 44ONBUILD WORKDIR /tmp
45ONBUILD COPY . /tmp 45ONBUILD COPY . /tmp
46ONBUILD RUN \
47 echo "===> Diagnosis: host information..." && \
48 ansible -c local -m setup all
46 49
47 50
48 51
diff --git a/debian7-onbuild/Dockerfile b/debian7-onbuild/Dockerfile
index 1620990..45bbd7f 100644
--- a/debian7-onbuild/Dockerfile
+++ b/debian7-onbuild/Dockerfile
@@ -40,6 +40,9 @@ COPY ansible-playbook-wrapper /usr/local/bin/
40ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update 40ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update
41ONBUILD WORKDIR /tmp 41ONBUILD WORKDIR /tmp
42ONBUILD COPY . /tmp 42ONBUILD COPY . /tmp
43ONBUILD RUN \
44 echo "===> Diagnosis: host information..." && \
45 ansible -c local -m setup all
43 46
44 47
45 48
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/
40ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update 40ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update
41ONBUILD WORKDIR /tmp 41ONBUILD WORKDIR /tmp
42ONBUILD COPY . /tmp 42ONBUILD COPY . /tmp
43ONBUILD RUN \
44 echo "===> Diagnosis: host information..." && \
45 ansible -c local -m setup all
43 46
44 47
45 48
diff --git a/ubuntu12.04-onbuild/Dockerfile b/ubuntu12.04-onbuild/Dockerfile
index f7a5aa0..2fc7820 100644
--- a/ubuntu12.04-onbuild/Dockerfile
+++ b/ubuntu12.04-onbuild/Dockerfile
@@ -36,6 +36,9 @@ COPY ansible-playbook-wrapper /usr/local/bin/
36ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update 36ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update
37ONBUILD WORKDIR /tmp 37ONBUILD WORKDIR /tmp
38ONBUILD COPY . /tmp 38ONBUILD COPY . /tmp
39ONBUILD RUN \
40 echo "===> Diagnosis: host information..." && \
41 ansible -c local -m setup all
39 42
40 43
41 44
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/
36ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update 36ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update
37ONBUILD WORKDIR /tmp 37ONBUILD WORKDIR /tmp
38ONBUILD COPY . /tmp 38ONBUILD COPY . /tmp
39ONBUILD RUN \
40 echo "===> Diagnosis: host information..." && \
41 ansible -c local -m setup all
39 42
40 43
41 44