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

provisioner/ansible: Colorize Ansible output, and don't buffer output.
This commit is contained in:
Mitchell Hashimoto 2014-10-14 15:36:27 -07:00
commit 373cefa93c
1 changed files with 1 additions and 1 deletions

View File

@ -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 == "" {