Merge "Replace virtualenv-tools by a script"
This commit is contained in:
commit
c0a81ee942
@ -214,7 +214,6 @@ ironic_tftp_server_address: "{{ ansible_host }}"
|
||||
|
||||
ironic_requires_pip_packages:
|
||||
- virtualenv
|
||||
- virtualenv-tools
|
||||
- python-keystoneclient # Keystoneclient needed for the OSA keystone lib
|
||||
- httplib2 # for Ansible's uri module
|
||||
|
||||
|
@ -109,9 +109,12 @@
|
||||
- ironic_get_venv | changed
|
||||
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ ironic_bin | dirname }}
|
||||
shell: |
|
||||
find {{ ironic_bin }} -name \*.pyc -delete
|
||||
sed -si '1s/^.*python.*$/#!{{ ironic_bin | replace ('/','\/') }}\/python/' {{ ironic_bin }}/*
|
||||
when: ironic_get_venv | changed
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Record the venv tag deployed
|
||||
ini_file:
|
||||
|
Loading…
x
Reference in New Issue
Block a user