Просмотр исходного кода

Merge pull request #260 from liquidat/pipeline_to_cfg

Move pipelining configuration to ansible.cfg
pull/247/head
Slavi Pantaleev 6 лет назад
committed by GitHub
Родитель
Сommit
801658f90a
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
2 измененных файлов: 7 добавлений и 3 удалений
  1. +3
    -0
      ansible.cfg
  2. +4
    -3
      examples/hosts

+ 3
- 0
ansible.cfg Просмотреть файл

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

[connection]
pipelining = True

+ 4
- 3
examples/hosts Просмотреть файл

@@ -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

Загрузка…
Отмена
Сохранить