diff --git a/README.md b/README.md index d1643c4..609eeee 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,9 @@ your local ansible configuration (~/.ansible.cfg or a personal ansible.cfg in th remote_user = vagrant host_key_checking = False + [ssh_connection] + pipelining = True # Speeds up connections but only if requiretty is not enabled for sudo + ## Running behind a Web Proxy If you are behind a proxy you can install the `vagrant-proxyconf` pluging to have Vagrant honor standard proxy-related environment variables and set the VM to use them also. diff --git a/Vagrantfile b/Vagrantfile index b9f0249..6a7c066 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -37,7 +37,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ansible.playbook = "devstack.yml" ansible.inventory_path = '.ansible_hosts' ansible.host_key_checking = false - ansible.raw_arguments = '-T 30' + ansible.raw_arguments = ['-T 30', '-e pipelining=True'] end end @@ -54,7 +54,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ansible.playbook = "mini-mon.yml" ansible.inventory_path = '.ansible_hosts' ansible.host_key_checking = false - ansible.raw_arguments = '-T 30' + ansible.raw_arguments = ['-T 30', '-e pipelining=True'] end end