Skip to content

Commit

Permalink
Update ansible.cfg
Browse files Browse the repository at this point in the history
add pipelining = True

Enabling pipelining reduces the number of SSH operations required to execute a module on the remote server. This can result in a significant performance improvement when enabled.
  • Loading branch information
vitabaks authored Nov 15, 2022
1 parent 7c152f6 commit 20dad13
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
[defaults]
inventory = ./inventory
display_skipped_hosts = false
remote_tmp = /tmp/${USER}/ansible
allow_world_readable_tmpfiles = false # or "true" if the temporary directory on the remote host is mounted with POSIX acls disabled or the remote machines use ZFS.
host_key_checking = false
timeout=60
deprecation_warnings=False
host_key_checking = False
timeout = 60
deprecation_warnings = False
display_skipped_hosts = False

[connection]
pipelining = True

[persistent_connection]
retries = 3
connect_timeout = 60
command_timeout = 30


# https://raw.githubusercontent.com/ansible/ansible/devel/examples/ansible.cfg
#https://github.com/ansible/ansible/blob/stable-2.9/examples/ansible.cfg

0 comments on commit 20dad13

Please sign in to comment.