---
- name: Install RedHat packages
  sudo: yes
  yum: name={{item}} state=present
  with_items:
    - wget
    - curl
    - gcc-c++
    - gcc

---
- name: Install RedHat packages
  sudo: yes
  yum: name={{item}} state=present
  with_items:
    - wget
    - curl
    - gcc-c++
    - gcc
    - nodejs
    - npm

Install nodejs, npm using YUM for Redhat systems in ansible roles.
Install nodejs, npm using YUM for Redhat systems in ansible roles.
