ソースを参照

Merge pull request #260 from liquidat/pipeline_to_cfg

Move pipelining configuration to ansible.cfg
pull/247/head
Slavi Pantaleev 6年前
committed by GitHub
コミット
801658f90a
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
2個のファイルの変更7行の追加3行の削除
  1. +3
    -0
      ansible.cfg
  2. +4
    -3
      examples/hosts

+ 3
- 0
ansible.cfg ファイルの表示

@@ -1,2 +1,5 @@
[defaults] [defaults]
retry_files_enabled = False 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), # 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`).
# 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, # 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

読み込み中…
キャンセル
保存