Name: ansible-dockerfile
Owner: YOCTOL INFO INC.
Description: null
Created: 2016-05-20 08:10:29.0
Updated: 2016-05-20 08:10:29.0
Pushed: 2017-10-31 13:27:52.0
Homepage: null
Size: 13
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Role to render dockerfile with ease.
Ansible >= 1.2
quired, the path where dockerfile to be rendered on the host.
: ~/Dockerfile
itonal, whether to show the details of role in comments. Default true.
_role_comment: true
quired, the image to be used in FROM instruciton as the base image.
: scratch
tional, the maintainer to be used in MAINTAINER instruction.
tainer: ''
tional, other instructions to be written in dockerfile.
would fail if invalid instruction type is used.
ructions: []
tional template arguments, which are the args of template module except `src`.
not set, default template settings are used.
eck http://docs.ansible.com/ansible/template_module.html.
r:
p:
:
up:
e:
date:
vel:
le:
pe:
er:
sts: servers
les:
- role: dockerfile
dest: ~/docker/Dockerfile
template_options: owner=root mode=u=rw,g=r,o=r
show_role_comment: true
from: python:latest
matainer: me
instructions:
- ADD /my/app /to/app/path
- CMD /init.sh
MIT
Yoctol Info Inc.