diff --git a/tasks/neutron_install.yml b/tasks/neutron_install.yml index cf5d99a5..80cdf8c4 100644 --- a/tasks/neutron_install.yml +++ b/tasks/neutron_install.yml @@ -114,9 +114,12 @@ - neutron_get_venv | changed - name: Update virtualenv path - command: > - virtualenv-tools --update-path=auto --reinitialize {{ neutron_bin | dirname }} + shell: | + find {{ neutron_bin }} -name \*.pyc -delete + sed -si '1s/^.*python.*$/#!{{ neutron_bin | replace ('/','\/') }}\/python/' {{ neutron_bin }}/* when: neutron_get_venv | changed + tags: + - skip_ansible_lint - name: Install optional pip packages pip: diff --git a/vars/main.yml b/vars/main.yml index e2154863..8101828e 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -59,7 +59,6 @@ calico_felix_bin: /usr/local/bin/calico-felix neutron_requires_pip_packages: - virtualenv - - virtualenv-tools - python-keystoneclient # Keystoneclient needed to OSA keystone lib - httplib2