algo/roles/cloud-ec2/tasks/venv.yml
2018-11-22 13:04:58 -05:00

16 lines
279 B
YAML

---
- name: Clean up the environment
file:
dest: "{{ ec2_venv }}"
state: absent
when: clean_environment
- name: Install requirements
pip:
name:
- boto>=2.5
- boto3
state: latest
virtualenv: "{{ ec2_venv }}"
virtualenv_python: python2.7