A few quick updates... Per argument conventions, these will be "key_file" and "ssh_opts" soon.
(Testing is welcome!) Basically using this you will no longer need to know about tricks where you have to use the "environment" keyword to set "GIT_SSH" as an environment variable. In the past, people have typically had to forward SSH keys, and this means that it's easier to use a different key, such as a GitHub deploy key, rather than yours, if you didn't know the above tricks. The accept_hostkeys argument is also new in 1.5, which solves the problem of having to manually add a git server's hostkey to known_hosts prior to using git. All of this combined together, the git module should be a *TON* more friendly in 1.5! On Thu, Jan 23, 2014 at 4:31 PM, James Tanner <[email protected]> wrote: > Thanks goes to Chris Blossom who did most of the research for this. > > > https://github.com/ansible/ansible/commit/18050d50ecf94df95464a560d66d5e8d820ac52c > > - sshopts > Creates a wrapper script and exports the path as GIT_SSH which > git then automatically uses to override ssh arguments. An > example value could be "-o StrictHostKeyChecking=no" > > - keyfile > Uses the same wrapper method as sshopts to pass "-i <keyfile>" > to the ssh arguments used by git > > > Test away! > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Michael DeHaan <[email protected]> CTO, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
