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

helpers to set /confirm node version #2062

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
2 participants
@8secz-johndpope
Copy link

commented Jun 11, 2019

No description provided.

creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"

```yml
- hosts: webservers

This comment has been minimized.

Copy link
@ljharb

ljharb Jun 11, 2019

Collaborator

this is a lot of content to add to the readme; maybe we could wrap it in a <details>?

This comment has been minimized.

Copy link
@8secz-johndpope

8secz-johndpope Jun 11, 2019

Author

yeah sorry - actually - this will fail without a defaults/main.yml file

---
nvm:
  user: '{{ ansible_user_id }}'
  version: v0.34.0
  node_version: '6.9.0'
 

fatal: [13.238.201.177]: FAILED! => {"msg": "The field 'become_user' has an invalid value, which includes an undefined variable. The error was: 'nvm' is undefined"}

there's a bunch of plumbing here necessary - ideally we'd point user to this repo
https://github.com/leonidas/ansible-nvm
but it's way out of date. fyi - @leonidas

@8secz-johndpope

This comment has been minimized.

Copy link
Author

commented Jun 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.