Skip to content

Instantly share code, notes, and snippets.

@minskmaz
Created November 2, 2015 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minskmaz/9c67f2d68991c368b558 to your computer and use it in GitHub Desktop.
Save minskmaz/9c67f2d68991c368b558 to your computer and use it in GitHub Desktop.
{
"builders":[{
"type": "docker",
"image": "ubuntu:14.04",
"export_path": "image.tar"
}],
"provisioners":[
{
"type": "shell",
"environment_vars": [
"http_proxy=http://192.168.4.10:8080/"
],
"inline": [
"apt-get -y update",
"apt-get install -y python-pip python-dev",
"pip install ansible"
]
},
{
"type": "ansible-local",
"playbook_file": "configuration/playbooks/zodb.yml",
"extra_arguments": ["-vvv"],
"playbook_dir": "configuration/playbooks"
}
],
"post-processors": [
{
"type": "docker-import",
"repository": "minskmaz/ansible-base",
"tag": "latest"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment