mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-03 11:23:03 +02:00
fixed code to work with python3.7
This commit is contained in:
parent
d0ce162559
commit
adb453dd2d
2 changed files with 57 additions and 64 deletions
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
- block:
|
|
||||||
- name: Build python virtual environment
|
- name: Build python virtual environment
|
||||||
import_tasks: venv.yml
|
import_tasks: venv.yml
|
||||||
|
|
||||||
|
@ -63,8 +62,3 @@
|
||||||
CLOUDSTACK_CONFIG: "{{ algo_cs_config }}"
|
CLOUDSTACK_CONFIG: "{{ algo_cs_config }}"
|
||||||
CLOUDSTACK_REGION: "{{ algo_cs_region }}"
|
CLOUDSTACK_REGION: "{{ algo_cs_region }}"
|
||||||
|
|
||||||
rescue:
|
|
||||||
- debug: var=fail_hint
|
|
||||||
tags: always
|
|
||||||
- fail:
|
|
||||||
tags: always
|
|
||||||
|
|
|
@ -51,5 +51,4 @@
|
||||||
[{{ default_zone }}]
|
[{{ default_zone }}]
|
||||||
register: _algo_region
|
register: _algo_region
|
||||||
when: region is undefined
|
when: region is undefined
|
||||||
environment:
|
|
||||||
PYTHONPATH: "{{ cloudstack_venv }}/lib/python2.7/site-packages/"
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue