Created
November 2, 2015 16:14
-
-
Save minskmaz/9c67f2d68991c368b558 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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