[defaults]
inventory = ./hosts
retry_files_enabled = False
remote_user = ansible
gathering = explicit
pipelining = True
[ssh_connection]
# default settings from ansible with ForwardingAgent added
# this is enabled so that the ssh key of the developer running the deploy script
# will be used to pull the source from GitHub
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes
This is what I used for Trilogy sync script: