make pipelining actually backwards compatible

restore ssh specific setting the global, in the future these will be separate.

(cherry picked from commit 2d70dc7f21)
pull/31222/merge
Brian Coca 7 years ago
parent 74e0643dbb
commit fa131f9a07

@ -77,6 +77,7 @@ Ansible Changes By Release
* fixed redis cache typo * fixed redis cache typo
* Fix AttributeError during inventory group deserialization (https://github.com/ansible/ansible/issues/30903) * Fix AttributeError during inventory group deserialization (https://github.com/ansible/ansible/issues/30903)
* Fix 'ansible-vault encrypt --output=-' (https://github.com/ansible/ansible/issues/30550) * Fix 'ansible-vault encrypt --output=-' (https://github.com/ansible/ansible/issues/30550)
* restore pre 2.4 pipeline configuration options (env and ini)
<a id="2.4"></a> <a id="2.4"></a>

@ -160,9 +160,14 @@ ANSIBLE_PIPELINING:
- This can result in a very significant performance improvement when enabled. - This can result in a very significant performance improvement when enabled.
- "However this conflicts with privilege escalation (become). For example, when using 'sudo:' operations you must first - "However this conflicts with privilege escalation (become). For example, when using 'sudo:' operations you must first
disable 'requiretty' in /etc/sudoers on all managed hosts, which is why it is disabled by default." disable 'requiretty' in /etc/sudoers on all managed hosts, which is why it is disabled by default."
env: [{name: ANSIBLE_PIPELINING}] env:
- name: ANSIBLE_SSH_PIPELINING
- name: ANSIBLE_PIPELINING
ini: ini:
- {key: pipelining, section: connection} - section: connection
key: pipelining
- section: ssh_connection
key: pipelining
type: boolean type: boolean
yaml: {key: plugins.connection.pipelining} yaml: {key: plugins.connection.pipelining}
ANSIBLE_SSH_ARGS: ANSIBLE_SSH_ARGS:

Loading…
Cancel
Save