diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -53,11 +53,14 @@ Second, put the following `Dockerfile` along with your playbook directory: | |||
53 | ``` | 53 | ``` |
54 | FROM williamyeh/ansible:ubuntu14.04-onbuild | 54 | FROM williamyeh/ansible:ubuntu14.04-onbuild |
55 | 55 | ||
56 | # ==> Specify playbook filename; default = "playbook.yml" | 56 | # ==> Specify requirements filename; default = "requirements.yml" |
57 | #ENV PLAYBOOK playbook.yml | 57 | #ENV REQUIREMENTS requirements.yml |
58 | 58 | ||
59 | # ==> Specify inventory filename; default = "/etc/ansible/hosts" | 59 | # ==> Specify playbook filename; default = "playbook.yml" |
60 | #ENV INVENTORY inventory.ini | 60 | #ENV PLAYBOOK playbook.yml |
61 | |||
62 | # ==> Specify inventory filename; default = "/etc/ansible/hosts" | ||
63 | #ENV INVENTORY inventory.ini | ||
61 | 64 | ||
62 | # ==> Executing Ansible... | 65 | # ==> Executing Ansible... |
63 | RUN ansible-playbook-wrapper | 66 | RUN ansible-playbook-wrapper |
@@ -67,7 +70,7 @@ Third, `docker build .` | |||
67 | 70 | ||
68 | Done! | 71 | Done! |
69 | 72 | ||
70 | For more advanced usage, the role in Ansible Galaxy [`williamyeh/nginx`](https://galaxy.ansible.com/list#/roles/2245) also demonstrates how to do a simple integration test for a variety of Linux distributions on [Travis CI](https://travis-ci.org/)’s Ubuntu 12.04 worker instances. | 73 | For more advanced usage, the role in Ansible Galaxy [`williamyeh/nginx`](https://galaxy.ansible.com/list#/roles/2245) also demonstrates how to do a simple integration test for a variety of Linux distributions on [CircleCI](https://circleci.com/)'s and [Travis CI](https://travis-ci.org/)’s Ubuntu 12.04 worker instances. |
71 | 74 | ||
72 | 75 | ||
73 | 76 | ||
@@ -173,11 +176,14 @@ FROM williamyeh/ansible:ubuntu14.04-onbuild | |||
173 | #FROM williamyeh/ansible:centos6-onbuild | 176 | #FROM williamyeh/ansible:centos6-onbuild |
174 | 177 | ||
175 | 178 | ||
176 | # ==> Specify playbook filename; default = "playbook.yml" | 179 | # ==> Specify requirements filename; default = "requirements.yml" |
177 | #ENV PLAYBOOK playbook.yml | 180 | #ENV REQUIREMENTS requirements.yml |
181 | |||
182 | # ==> Specify playbook filename; default = "playbook.yml" | ||
183 | #ENV PLAYBOOK playbook.yml | ||
178 | 184 | ||
179 | # ==> Specify inventory filename; default = "/etc/ansible/hosts" | 185 | # ==> Specify inventory filename; default = "/etc/ansible/hosts" |
180 | #ENV INVENTORY inventory.ini | 186 | #ENV INVENTORY inventory.ini |
181 | 187 | ||
182 | # ==> Executing Ansible... | 188 | # ==> Executing Ansible... |
183 | RUN ansible-playbook-wrapper | 189 | RUN ansible-playbook-wrapper |