Commit 373cefa9 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

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

provisioner/ansible: Colorize Ansible output, and don't buffer output.
parents 345eb665 baa8697f
...@@ -69,7 +69,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error { ...@@ -69,7 +69,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
// Defaults // Defaults
if p.config.Command == "" { if p.config.Command == "" {
p.config.Command = "ansible-playbook" p.config.Command = "ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook"
} }
if p.config.StagingDir == "" { if p.config.StagingDir == "" {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment