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:
commit
373cefa93c
|
@ -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 == "" {
|
||||||
|
|
Loading…
Reference in New Issue