factorial-io / phabalicious

Supports your deployments and every-day devops-tasks
http://docs.phab.io
MIT License
18 stars 3 forks source link

Add unknown hosts to .knownhosts to prevent prompt #70

Closed stmh closed 4 years ago

stmh commented 4 years ago

Use a similar technique as described in https://medium.com/@wblankenship/bash-automatically-populating-a-known-hosts-file-15ea28d06c02

This should be done before a ssh command, a git command etc. Maybe it should consume a predefined list of hosts in the fabfile, e.g.

knownHosts:
  - github.com
  - git.foo.bar
  - foo.bar.baz:2222
stmh commented 4 years ago

Fixed in 3.4.0