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

iojs 2.x and above #1

Closed
timoxley opened this issue Jun 29, 2015 · 6 comments
Closed

iojs 2.x and above #1

timoxley opened this issue Jun 29, 2015 · 6 comments

Comments

@timoxley
Copy link

Sadly can't yet use 2.x with this playbook and 3.0 is soon to be released.

@zenoamaro
Copy link
Owner

Hi, I'll look at it soon.

In the mean time, are you able to switch version by setting something like this?

iojs_version: '2.3.*'

Let me know if this doesn't work.

@timoxley
Copy link
Author

@zenoamaro yep tried that, it not work:

TASK: [zenoamaro.iojs | Installing io.js] *************************************
failed: [staging] => {"failed": true}
stderr: E: Version '2.3.*' for 'iojs' was not found

stdout: Reading package lists...
Building dependency tree...
Reading state information...

msg: '/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold"   install 'iojs=2.3.*'' failed: E: Version '2.3.*' for 'iojs' was not found


FATAL: all hosts have already failed -- aborting

@timoxley
Copy link
Author

Looks like this may be the culprit:

  apt_repository:
    repo: "deb https://deb.nodesource.com/iojs_1.x {{ansible_distribution_release}} main"

apt_repository:
repo: "deb https://deb.nodesource.com/iojs_1.x {{ansible_distribution_release}} main"

@zenoamaro
Copy link
Owner

zenoamaro commented Jun 29, 2015 via email

@zenoamaro
Copy link
Owner

v0.2.0 should be in galaxy in a minute or two.

Let me know if this solves your issue.

@timoxley
Copy link
Author

timoxley commented Jul 2, 2015

Appears to have worked, thanks! 👍

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