nodesource / ansible-nodejs-role

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

Register variable for task completion #6

Open devNoiseConsulting opened 9 years ago

devNoiseConsulting commented 9 years ago

This is more of a question than a bug.

Q: Does it make sense to register a variable for the "Install Node.js" task?

I use this playbook to install node.js and have other tasks in the ansible build that have a dependency on it. I would like to test that node.js installed before the running the dependent tasks. For my build, I ended up adding a task that makes sure node.js is present and register "nodeInstalled". Thoughts?