We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I set nodejs_version to "0.12", everything works fine, but with 0.12, it fails:
nodejs_version
"0.12"
➜ provisioning git:(master) ✗ ansible-playbook playbook.yml -i inventory -u centos PLAY [basic] ****************************************************************** GATHERING FACTS *************************************************************** ok: [staging] TASK: [geerlingguy.nodejs | Make sure nodejs_version is set correctly.] ******* failed: [staging] => {"assertion": "nodejs_version == \"0.10\"", "evaluated_to": false, "failed": true} FATAL: all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/Users/mehulkar/playbook.retry staging : ok=1 changed=0 unreachable=0 failed=1
I'm new to Ansible though, so it's possible I'm using it wrong.
The text was updated successfully, but these errors were encountered:
guessing the assert is causing that here:
assert
https://github.com/geerlingguy/ansible-role-nodejs/blob/master/tasks/setup-RedHat.yml#L4
Sorry, something went wrong.
Yes; unfortunately, the Nodesource repository currently doesn't host the 0.12 version for RedHat/CentOS; see nodesource/distributions#73
0.12
For now, I have this noted in the role's README file under the nodejs_version variable, and I'll update it once the issue gets fixed upstream.
Issue #8: Fix 0.12 default for CentOS 7 - nodesource upstream issue r…
47f9ffb
…esolved.
No branches or pull requests
If I set
nodejs_version
to"0.12"
, everything works fine, but with 0.12, it fails:I'm new to Ansible though, so it's possible I'm using it wrong.
The text was updated successfully, but these errors were encountered: