From 745938dba45f9d05b9afb1e0613161a2c1a46075 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Mon, 8 Jan 2018 00:04:35 -0500 Subject: [PATCH] Enable ansible pipelining Pipelining speeds up tasks considerably as long as !requiretty is set in sudoers. Change-Id: Iaf968efce0b028608b3777b0ff64d21bbaa0bed4 Signed-off-by: Thanh Ha --- templates/builder.json.example | 1 + templates/docker.json.example | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/builder.json.example b/templates/builder.json.example index 72e5c92..5f709ef 100644 --- a/templates/builder.json.example +++ b/templates/builder.json.example @@ -49,6 +49,7 @@ "playbook_file": "common-packer/provision/baseline.yaml", "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", + "ANSIBLE_PIPELINING=True", "ANSIBLE_ROLES_PATH=../lf-ansible/roles", "ANSIBLE_CALLBACK_WHITELIST=profile-tasks", "ANSIBLE_STDOUT_CALLBACK=debug" diff --git a/templates/docker.json.example b/templates/docker.json.example index c566989..6e92844 100644 --- a/templates/docker.json.example +++ b/templates/docker.json.example @@ -49,6 +49,7 @@ "playbook_file": "common-packer/provision/docker.yaml", "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", + "ANSIBLE_PIPELINING=True", "ANSIBLE_ROLES_PATH=../lf-ansible/roles", "ANSIBLE_CALLBACK_WHITELIST=profile_tasks", "ANSIBLE_STDOUT_CALLBACK=debug" -- 2.16.6