william-yeh / ansible-nvm-nodejs Goto Github PK
View Code? Open in Web Editor NEWAn Ansible role that installs NVM and Node.js, in the format for Ansible Galaxy (deprecated)
License: Apache License 2.0
An Ansible role that installs NVM and Node.js, in the format for Ansible Galaxy (deprecated)
License: Apache License 2.0
Hi, i use this role with vagrant and ansible 1.7.2 on ubuntu trusty to one month and not have any problem, today i get this error:
TASK: [node | apply nvm.sh and set default version] ***************************
fatal: [dev] => Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/ansible/runner/init.py", line 561, in _executor
exec_rc = self._executor_internal(host, new_stdin)
File "/usr/lib/python2.7/dist-packages/ansible/runner/init.py", line 666, in _executor_internal
return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)
File "/usr/lib/python2.7/dist-packages/ansible/runner/init.py", line 756, in _executor_internal_inner
if not utils.check_conditional(cond, self.basedir, inject, fail_on_undefined=self.error_on_undefined_vars):
File "/usr/lib/python2.7/dist-packages/ansible/utils/init.py", line 258, in check_conditional
conditional = template.template(basedir, presented, inject)
File "/usr/lib/python2.7/dist-packages/ansible/utils/template.py", line 115, in template
varname = template_from_string(basedir, varname, vars, fail_on_undefined)
File "/usr/lib/python2.7/dist-packages/ansible/utils/template.py", line 357, in template_from_string
res = jinja2.utils.concat(rf)
File "", line 9, in root
File "/usr/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Invalid control character at: line 3 column 17 (char 45)
FATAL: all hosts have already failed -- aborting
Any idea?
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.