futuresystems / big-data-stack

Hadoop-based Big Data stack (hdfs, yarn, spark, etc)
Apache License 2.0
6 stars 17 forks source link

local_action failed to create hadoop ssh keypair. #54

Open lee212 opened 8 years ago

lee212 commented 8 years ago
$ ansible-playbook play-hadoop.yml
ERROR: Failed to template {{ lookup('file', '../keys/hadoop.pub') }}: could not locate file in lookup: ../keys/hadoop.pub

I had to run the ssh-keygen command manually to create the new hadoop ssh key in keys directory.

badmutex commented 8 years ago

That's odd. It should be automatically created as per here: https://github.com/futuresystems/big-data-stack/blob/master/base/02-hadoop.yml#L17

I'll test again this week and try to replicate.