fixed code to work with python3.7 (#1608)

* fixed code to work with python3.7

* removed trailing whitespaces and re-run ansible-linter
This commit is contained in:
Julien Bachmann 2019-11-06 08:25:35 +01:00 committed by Jack Ivanov
parent b65e6b1351
commit 43aafdfce1
2 changed files with 56 additions and 64 deletions

View file

@ -1,5 +1,4 @@
---
- block:
- name: Build python virtual environment
import_tasks: venv.yml
@ -62,9 +61,3 @@
environment:
CLOUDSTACK_CONFIG: "{{ algo_cs_config }}"
CLOUDSTACK_REGION: "{{ algo_cs_region }}"
rescue:
- debug: var=fail_hint
tags: always
- fail:
tags: always

View file

@ -51,5 +51,4 @@
[{{ default_zone }}]
register: _algo_region
when: region is undefined
environment:
PYTHONPATH: "{{ cloudstack_venv }}/lib/python2.7/site-packages/"