---
- name: create epel.repo
  template: src=utils/templates/epel-es.repo dest=/etc/yum.repos.d/epel.repo

- name: Yum install SGE in REL system
  yum: name=gridengine,gridengine-execd,openssh-clients

- name: Set RedHat facts
  set_fact:
    SGE_ROOT: /usr/lib/gridengine
    EXEC_SERVICE: sge_execd

---
- name: create epel.repo
  template: src=utils/templates/epel-es.repo dest=/etc/yum.repos.d/epel.repo

- name: Yum install SGE in REL system
  yum: name=gridengine,gridengine-execd,openssh-clients,gridengine-qmaster,gridengine-qmon

- name: Set RedHat facts
  set_fact:
    SGE_ROOT: /usr/lib/gridengine
    EXEC_SERVICE: sge_execd

Add new dependencies for Centos 6
Add new dependencies for Centos 6