diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -16,7 +16,7 @@ This repository contains Dockerized [Ansible](https://github.com/ansible/ansible | |||
16 | 16 | ||
17 | These are Docker images for [Ansible](https://github.com/ansible/ansible) software, installed in a selected Linux distributions. | 17 | These are Docker images for [Ansible](https://github.com/ansible/ansible) software, installed in a selected Linux distributions. |
18 | 18 | ||
19 | - OS: Debian (jessie, wheezy), Ubuntu (trusty, precise), CentOS (7, 6), Alpine (3). | 19 | - OS: Debian (jessie, wheezy), Ubuntu (xenial, trusty, precise), CentOS (7, 6), Alpine (3). |
20 | 20 | ||
21 | - Ansible: three version series - | 21 | - Ansible: three version series - |
22 | 22 | ||
@@ -33,6 +33,7 @@ These are Docker images for [Ansible](https://github.com/ansible/ansible) softwa | |||
33 | 33 | ||
34 | - `williamyeh/ansible:debian8` | 34 | - `williamyeh/ansible:debian8` |
35 | - `williamyeh/ansible:debian7` | 35 | - `williamyeh/ansible:debian7` |
36 | - `williamyeh/ansible:ubuntu16.04` | ||
36 | - `williamyeh/ansible:ubuntu14.04` | 37 | - `williamyeh/ansible:ubuntu14.04` |
37 | - `williamyeh/ansible:ubuntu12.04` | 38 | - `williamyeh/ansible:ubuntu12.04` |
38 | - `williamyeh/ansible:centos7` | 39 | - `williamyeh/ansible:centos7` |
@@ -43,6 +44,7 @@ These are Docker images for [Ansible](https://github.com/ansible/ansible) softwa | |||
43 | 44 | ||
44 | - `williamyeh/ansible:debian8-onbuild` | 45 | - `williamyeh/ansible:debian8-onbuild` |
45 | - `williamyeh/ansible:debian7-onbuild` | 46 | - `williamyeh/ansible:debian7-onbuild` |
47 | - `williamyeh/ansible:ubuntu16.04-onbuild` | ||
46 | - `williamyeh/ansible:ubuntu14.04-onbuild` | 48 | - `williamyeh/ansible:ubuntu14.04-onbuild` |
47 | - `williamyeh/ansible:ubuntu12.04-onbuild` | 49 | - `williamyeh/ansible:ubuntu12.04-onbuild` |
48 | - `williamyeh/ansible:centos7-onbuild` | 50 | - `williamyeh/ansible:centos7-onbuild` |
@@ -77,6 +79,7 @@ These are Docker images for [Ansible](https://github.com/ansible/ansible) softwa | |||
77 | 79 | ||
78 | - `williamyeh/ansible:master-debian8` | 80 | - `williamyeh/ansible:master-debian8` |
79 | - `williamyeh/ansible:master-debian7` | 81 | - `williamyeh/ansible:master-debian7` |
82 | - `williamyeh/ansible:master-ubuntu16.04` | ||
80 | - `williamyeh/ansible:master-ubuntu14.04` | 83 | - `williamyeh/ansible:master-ubuntu14.04` |
81 | - `williamyeh/ansible:master-ubuntu12.04` | 84 | - `williamyeh/ansible:master-ubuntu12.04` |
82 | - `williamyeh/ansible:master-centos7` | 85 | - `williamyeh/ansible:master-centos7` |
@@ -86,6 +89,7 @@ These are Docker images for [Ansible](https://github.com/ansible/ansible) softwa | |||
86 | 89 | ||
87 | - `williamyeh/ansible:master-debian8-onbuild` | 90 | - `williamyeh/ansible:master-debian8-onbuild` |
88 | - `williamyeh/ansible:master-debian7-onbuild` | 91 | - `williamyeh/ansible:master-debian7-onbuild` |
92 | - `williamyeh/ansible:master-ubuntu16.04-onbuild` | ||
89 | - `williamyeh/ansible:master-ubuntu14.04-onbuild` | 93 | - `williamyeh/ansible:master-ubuntu14.04-onbuild` |
90 | - `williamyeh/ansible:master-ubuntu12.04-onbuild` | 94 | - `williamyeh/ansible:master-ubuntu12.04-onbuild` |
91 | - `williamyeh/ansible:master-centos7-onbuild` | 95 | - `williamyeh/ansible:master-centos7-onbuild` |
@@ -121,7 +125,7 @@ Third, `docker build .` | |||
121 | 125 | ||
122 | Done! | 126 | Done! |
123 | 127 | ||
124 | For more advanced usage, the role in Ansible Galaxy [`williamyeh/nginx`](https://galaxy.ansible.com/williamyeh/nginx/) demonstrates how to perform a simple smoke test (*configuration needs test, too!*) on a variety of (*containerized*) Linux distributions via [CircleCI](https://circleci.com/)'s Ubuntu 12.04 and [Travis CI](https://travis-ci.org/)’s Ubuntu 14.04 worker instances. | 128 | For more advanced usage, the role in Ansible Galaxy [`williamyeh/nginx`](https://galaxy.ansible.com/williamyeh/nginx/) demonstrates how to perform a simple smoke test (*configuration needs test, too!*) on a variety of (*containerized*) Linux distributions on [CircleCI](https://circleci.com/)'s Ubuntu 12.04 and [Travis CI](https://travis-ci.org/)’s Ubuntu 14.04 worker instances. |
125 | 129 | ||
126 | 130 | ||
127 | 131 | ||
@@ -170,6 +174,7 @@ Take Debian/Ubuntu/CentOS for example. To test an Ansible `playbook.yml` against | |||
170 | Vagrant.configure(2) do |config| | 174 | Vagrant.configure(2) do |config| |
171 | 175 | ||
172 | # ==> Choose a Vagrant box to emulate Linux distribution... | 176 | # ==> Choose a Vagrant box to emulate Linux distribution... |
177 | #config.vm.box = "ubuntu/xenial64" | ||
173 | config.vm.box = "ubuntu/trusty64" | 178 | config.vm.box = "ubuntu/trusty64" |
174 | #config.vm.box = "ubuntu/precise64" | 179 | #config.vm.box = "ubuntu/precise64" |
175 | #config.vm.box = "debian/jessie64" | 180 | #config.vm.box = "debian/jessie64" |
@@ -197,6 +202,7 @@ Docker to be a rescue. Now, with these **williamyeh/ansible** series, we may tes | |||
197 | # Dockerfile | 202 | # Dockerfile |
198 | 203 | ||
199 | # ==> Choose a base image to emulate Linux distribution... | 204 | # ==> Choose a base image to emulate Linux distribution... |
205 | #FROM williamyeh/ansible:ubuntu16.04 | ||
200 | FROM williamyeh/ansible:ubuntu14.04 | 206 | FROM williamyeh/ansible:ubuntu14.04 |
201 | #FROM williamyeh/ansible:ubuntu12.04 | 207 | #FROM williamyeh/ansible:ubuntu12.04 |
202 | #FROM williamyeh/ansible:debian8 | 208 | #FROM williamyeh/ansible:debian8 |
@@ -224,6 +230,7 @@ You may also work with `onbuild` series, which take care of many routine steps f | |||
224 | # Dockerfile | 230 | # Dockerfile |
225 | 231 | ||
226 | # ==> Choose a base image to emulate Linux distribution... | 232 | # ==> Choose a base image to emulate Linux distribution... |
233 | #FROM williamyeh/ansible:ubuntu16.04-onbuild | ||
227 | FROM williamyeh/ansible:ubuntu14.04-onbuild | 234 | FROM williamyeh/ansible:ubuntu14.04-onbuild |
228 | #FROM williamyeh/ansible:ubuntu12.04-onbuild | 235 | #FROM williamyeh/ansible:ubuntu12.04-onbuild |
229 | #FROM williamyeh/ansible:debian8-onbuild | 236 | #FROM williamyeh/ansible:debian8-onbuild |