소스 검색

Merge pull request #260 from liquidat/pipeline_to_cfg

Move pipelining configuration to ansible.cfg
pull/247/head
Slavi Pantaleev 7 년 전
committed by GitHub
부모
커밋
801658f90a
No known key found for this signature in database 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]
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

불러오는 중...
취소
저장