mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
817 B
YAML
33 lines
817 B
YAML
5 years ago
|
- name: AWS ACM integration test virtualenv wrapper
|
||
|
block:
|
||
|
- set_fact:
|
||
|
virtualenv: "{{ remote_tmp_dir }}/virtualenv"
|
||
|
virtualenv_command: "{{ ansible_python_interpreter }} -m virtualenv"
|
||
|
|
||
|
- set_fact:
|
||
|
virtualenv_interpreter: "{{ virtualenv }}/bin/python"
|
||
|
|
||
|
- pip:
|
||
|
name: virtualenv
|
||
|
|
||
|
- pip:
|
||
|
name:
|
||
|
- 'botocore<1.13.0,>=1.12.211'
|
||
|
- boto3
|
||
|
- coverage
|
||
|
- jinja2
|
||
|
- pyyaml
|
||
|
- 'pyopenssl>=0.15'
|
||
|
- 'cryptography>=1.6'
|
||
|
virtualenv: "{{ virtualenv }}"
|
||
|
virtualenv_command: "{{ virtualenv_command }}"
|
||
|
virtualenv_site_packages: no
|
||
|
|
||
|
- include_tasks: full_acm_test.yml
|
||
|
vars:
|
||
|
ansible_python_interpreter: "{{ virtualenv_interpreter }}"
|
||
|
|
||
|
always:
|
||
|
- file:
|
||
|
path: "{{ virtualenv }}"
|
||
|
state: absent
|