diff --git a/tasks/horizon_install.yml b/tasks/horizon_install.yml index 147be256..424c8545 100644 --- a/tasks/horizon_install.yml +++ b/tasks/horizon_install.yml @@ -154,6 +154,7 @@ shell: | find {{ horizon_bin }} -name \*.pyc -delete sed -si '1s/^.*python.*$/#!{{ horizon_bin | replace ('/','\/') }}\/python/' {{ horizon_bin }}/* + virtualenv {{ horizon_bin | dirname }} when: horizon_get_venv | changed tags: - skip_ansible_lint