community.general/lib/ansible
Abhijit Menon-Sen 565c6f1ae7 Make ansible_pipelining a connection variable
SSH pipelining can be a significant performance improvement, but it will
not work if sudoers is configured to requiretty. With this change, one
could have pipelining enabled in ansible.cfg, but use sudo to turn off
requiretty in a separate play (or task) where pipelining is disabled:

    - hosts: foo
      vars:
          ansible_pipelining: no
      tasks:
        - lineinfile: dest=/etc/sudoers line='Defaults requiretty' state=absent
          sudo_user: root

(Note that sudoers has a complicated syntax, so the above lineinfile
invocation may be too simplistic for production use; but the point is
that a separate play can do something to disable requiretty.)
2015-09-28 20:55:14 +05:30
..
cli Another fix for --limit in adhoc 2015-09-28 10:39:33 -04:00
compat Making the switch to v2 2015-05-03 21:47:26 -05:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors Making the switch to v2 2015-05-03 21:47:26 -05:00
executor Use the task loop to calculate multiple delegated hosts 2015-09-25 01:41:09 -04:00
galaxy Fix typo in ansible module_utils import from galaxy code 2015-09-17 14:25:48 -04:00
inventory Update outdated comment 2015-09-26 17:32:13 +05:30
module_utils Do not fail if /proc/uptime is not present 2015-09-26 10:00:28 -07:00
modules Fix docs build 2015-09-28 08:23:12 -07:00
new_inventory Making the switch to v2 2015-05-03 21:47:26 -05:00
parsing Move is_executable to the toplevel of basic.py so we can utilize it from other code 2015-09-25 07:48:57 -07:00
playbook Make ansible_pipelining a connection variable 2015-09-28 20:55:14 +05:30
plugins Make ansible_pipelining a connection variable 2015-09-28 20:55:14 +05:30
template Python 3: the StringIO module is gone 2015-09-28 09:28:53 +03:00
utils fix logic judgment error. 2015-09-26 15:15:53 +08:00
vars Clean up typo from cdc6c52 2015-09-25 16:58:27 -04:00
__init__.py Re-adding submodules after moving things around 2015-05-03 22:30:51 -05:00
constants.py Implement ssh connection handling as a state machine 2015-09-23 01:55:00 -04:00
test-requirements.txt Making the switch to v2 2015-05-03 21:47:26 -05:00