RedHatNordicsSA / ansible-roadshow

One day hands on lab with Ansible and Ansible Tower
GNU General Public License v3.0
85 stars 101 forks source link

Update README.md #219

Closed Emil-G closed 5 years ago

Emil-G commented 5 years ago

Why cut and paste all IP's another time?

mglantz commented 5 years ago

Makes sense, we're validating it

idarlund commented 5 years ago

It works, but you should add $WORK_DIR to the cat. that way it works from everywhere. like this: cat $WORK_DIR/hosts | grep host | cut -d '=' -f 2 | xargs ssh-keyscan -H >> ~/.ssh/known_hosts

mglantz commented 5 years ago

Passed testing, merging this 👍

mglantz commented 5 years ago

It works, but you should add $WORK_DIR to the cat. that way it works from everywhere. like this: cat $WORK_DIR/hosts | grep host | cut -d '=' -f 2 | xargs ssh-keyscan -H >> ~/.ssh/known_hosts

We talked about this and yes, that would be an additional improvement (even though the instruction before have you go to $WORK_DIR). Feel free to reopen and fix 👍