nodesource / ansible-nodejs-role

Ansible Role for Node.js Binary Install
MIT License
131 stars 47 forks source link

Yum instead of apt #13

Open asebak opened 8 years ago

asebak commented 8 years ago

What happens if i want to use yum instead of apt? It doesn't work, do you know what the required changes would have to be to make it compatible?

geerlingguy commented 8 years ago

This role could be made cross-distro like https://github.com/geerlingguy/ansible-role-nodejs; the repositories are a little different, but general setup/structure would be the same.

See, in particular: https://github.com/geerlingguy/ansible-role-nodejs/blob/a81202aef58771b76fba04092fd257b68a010c07/tasks/setup-RedHat.yml