Merge pull request #1585 from Tpbrown/ansible-color-and-unbuffered

provisioner/ansible: Colorize Ansible output, and don't buffer output.
pull/1566/merge
Mitchell Hashimoto 12 years ago
commit 373cefa93c

@ -69,7 +69,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
// Defaults
if p.config.Command == "" {
p.config.Command = "ansible-playbook"
p.config.Command = "ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook"
}
if p.config.StagingDir == "" {

Loading…
Cancel
Save