The play-hadoop.yml play book fails to generate /etc/hosts file. Please refer to the common roles. The error message indicate a possible issue in getting ansible_eth0.ipv4.address.
fatal: [master1]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_eth0'"} fatal: [master0]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_eth0'"}
@kjaugustin what is your OS..I got the same problem today and it looks like in Cent OS 7 the network interfaces are different. In my system its coming as em1 to em5
The play-hadoop.yml play book fails to generate /etc/hosts file. Please refer to the common roles. The error message indicate a possible issue in getting ansible_eth0.ipv4.address.
fatal: [master1]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_eth0'"} fatal: [master0]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_eth0'"}