ansible_slurm/tasks/elastic.yml
2016-04-05 17:35:18 -04:00

15 lines
275 B
YAML

---
- name: Install virtualenv (yum)
yum:
pkg: python-virtualenv
when: ansible_os_family == "RedHat"
- name: Create virtualenv for elastic components
pip:
name: "{{ item }}"
virtualenv: "/opt/slurm_cloud_provision"
with_items:
- shade
- ansible