Merge pull request #260 from liquidat/pipeline_to_cfg
Move pipelining configuration to ansible.cfg
This commit is contained in:
commit
801658f90a
|
@ -1,2 +1,5 @@
|
||||||
[defaults]
|
[defaults]
|
||||||
retry_files_enabled = False
|
retry_files_enabled = False
|
||||||
|
|
||||||
|
[connection]
|
||||||
|
pipelining = True
|
||||||
|
|
|
@ -4,11 +4,12 @@
|
||||||
# To connect using a non-root user (and elevate to root with sudo later),
|
# 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`
|
# 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`).
|
# For improved Ansible performance, SSH pipelining is enabled by default in `ansible.cfg`.
|
||||||
# If this causes SSH connection troubles, feel free to disable it.
|
# 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,
|
# 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.
|
# consider adding an additional `ansible_connection=local` argument below.
|
||||||
|
|
||||||
[matrix_servers]
|
[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
|
||||||
|
|
Loading…
Reference in a new issue