Last active
October 20, 2015 20:07
-
-
Save minskmaz/8eb90c68613d1c728444 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", | |
"inline": [ | |
"apt-get -y update", | |
"apt-get install -y python-pip python-dev", | |
"apt-get install python-simplejson", | |
"pip install ansible" | |
] | |
}, | |
{ | |
"type": "ansible-local", | |
"playbook_file": "playbooks/local.yml", | |
"playbook_dir": "playbooks" | |
} | |
], | |
"post-processors": [ | |
{ | |
"type": "docker-import", | |
"repository": "minskmaz/packer-ansible", | |
"tag": "0.1" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment