algo/roles/cloud-ec2/tasks/venv.yml

16 lines
279 B
YAML
Raw Normal View History

2018-11-22 18:04:58 +00:00
---
- 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