So, I have the following in my wandering file:
config.ssh.forward_agent = true
And the following state of salt:
git+ssh:
git.latest:
- rev: rest
- target: /home/vagrant/src
However, I get a public key message when this salt state is executed.
It is annoying that if I manually execute git clone git+ssh://git@bitbucket.org/xxx/repo.gitfrom my instance, everything works fine. Any ideas?
source
share