Merge "Disable warning for using sed"

This commit is contained in:
Zuul 2018-03-28 15:24:07 +00:00 committed by Gerrit Code Review
commit 22e1811796
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@
shell: |
sed -si '1s/^.*python.*$/#!{{ (venv_destination_path ~ '/bin') | replace ('/','\/') }}\/python/' {{ venv_destination_path }}/bin/*
virtualenv {{ venv_destination_path }}
args:
executable: /bin/bash
warn: no
when:
- (_venv_checksum_copy is mapping and _venv_checksum_copy | changed) or
_venv_dir_create | changed