level12 / keg-app-cookiecutter

0 stars 0 forks source link

ansible.cfg needs a couple changes #59

Closed rsyring closed 5 years ago

rsyring commented 5 years ago

This is what I used for Trilogy sync script:

[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