2015-Middleware-Keynote / demo-ansible

Apache License 2.0
18 stars 24 forks source link

Update README.md to include ssh-agent information #129

Closed alberttwong closed 8 years ago

alberttwong commented 8 years ago

more info on ssh-agent has to be running before the run script gets executed.

thoraxe commented 8 years ago

Wouldn't this be highly operating system dependent?

alberttwong commented 8 years ago

It could be.... here's my situation. I was running this on centos (because my mac environment is running ansible 2.x). I wasn't even aware that ssh-agent isn't turned on by default. The problem is that this readme makes a lot of assumptions. It doesn't even tell you what OS to run these on and you're suppose to "figure it out". I think we need to be more prescriptive. We don't have time to have people to write a mojo page or a blog which would explain things in more detail. This readme should do that.

thoraxe commented 8 years ago

You're not "supposed" to run it on any particular OS. Both OSX and Linux will work. Essentially any platform that you can run Ansible from can work. You could even run it from Windows, theoretically.

ssh-agent is only required if you are using an SSH key that is not your standard key (id_rsa) and is also not somehow defined by an SSH config file. It, in and of itself, is not a requirement as there are several options for it to work.

If you want to go that route, then you will need to document:

1) every OS 2) id_rsa/default key 3) ssh-agent 4) ssh config

At some point you have to know how to use the required tools...