Merge pull request #260 from liquidat/pipeline_to_cfg

Move pipelining configuration to ansible.cfg
This commit is contained in:
Slavi Pantaleev 2019-09-02 09:50:48 +03:00 committed by GitHub
commit 801658f90a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -1,2 +1,5 @@
[defaults]
retry_files_enabled = False
[connection]
pipelining = True

View file

@ -4,11 +4,12 @@
# To connect using a non-root user (and elevate to root with sudo later),
# replace `ansible_ssh_user=root` with something like this: `ansible_ssh_user=username become=true become_user=root`
#
# For improved Ansible performance, SSH pipelining is enabled by default (`ansible_ssh_pipelining=yes`).
# If this causes SSH connection troubles, feel free to disable it.
# For improved Ansible performance, SSH pipelining is enabled by default in `ansible.cfg`.
# If this causes SSH connection troubles, disable it by adding `ansible_ssh_pipelining=False`
# to the host line below or by adding `ansible_ssh_pipelining: False` to your variables file.
#
# If you're running this Ansible playbook on the same server as the one you're installing to,
# consider adding an additional `ansible_connection=local` argument below.
[matrix_servers]
matrix.<your-domain> ansible_host=<your-server's external IP address> ansible_ssh_user=root ansible_ssh_pipelining=yes
matrix.<your-domain> ansible_host=<your-server's external IP address> ansible_ssh_user=root