---
- name: Install node v{{ node_version }}
yum: name=nodejs state=present
when: ansible_os_family == 'RedHat'
...