slaclab / ansible-role-spark Goto Github PK
View Code? Open in Web Editor NEWAnsible role to deploy a spark cluster
License: Other
Ansible role to deploy a spark cluster
License: Other
How fix it?
I got error
fatal: [10.0.0.9]: FAILED! => {"msg": "The conditional check 'hostvars[item].ansible_default_ipv4.address is defined' failed. The error was: error while evaluating conditional (hostvars[item].ansible_default_ipv4.address is defined): u"hostvars['lol1']" is undefined\n\nThe error appears to have been in '/home/userkk/ansible/spark_not/roles/ansible-role-spark/tasks/main.yml': line 73, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# this doesn't work... need the non-fqdn output from hostname\n- name: ensure self dns is in /etc/hosts\n ^ here\n"}
less /etc/hosts on every hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.0.8 lol0 lol0-ip.local
10.0.0.9 lol1 lol1-ip.local
10.0.0.10 lol2 lol2-ip.local
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.