Skip to content
New issue

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

nodejs_version: "0.12" fails #8

Closed
mehulkar opened this issue Sep 22, 2015 · 2 comments
Closed

nodejs_version: "0.12" fails #8

mehulkar opened this issue Sep 22, 2015 · 2 comments

Comments

@mehulkar
Copy link

If I set nodejs_version to "0.12", everything works fine, but with 0.12, it fails:

➜  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.

@mehulkar
Copy link
Author

@geerlingguy
Copy link
Owner

Yes; unfortunately, the Nodesource repository currently doesn't host the 0.12 version for RedHat/CentOS; see nodesource/distributions#73

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants