mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-11 19:25:54 +00:00
Use "#!/usr/bin/env python" for python shebang
ansible is not allowing to use "#!/usr/bin/python". Due to a change in ansible-lint it is not possible to ignore the "bad" shebang.
This commit is contained in:
@@ -125,7 +125,7 @@ done
|
||||
|
||||
for i in utils/*.py utils/new_module utils/changelog utils/ansible-doc-test;
|
||||
do
|
||||
sed -i '{s@/usr/bin/python*@%{python}@}' $i
|
||||
sed -i '{s@/usr/bin/env python*@%{python}@}' $i
|
||||
done
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user