Use correct python for -c invocations in tests. (#54577)

* Use correct python for -c invocations in tests.
* Only set releasever when available.
This commit is contained in:
Matt Clay
2019-03-29 01:19:51 -07:00
committed by GitHub
parent af2e5fc761
commit 8d96af2df5
6 changed files with 9 additions and 7 deletions

View File

@@ -226,7 +226,7 @@
- name: Run script with shebang omitted
script: no_shebang.py
args:
executable: python
executable: "{{ ansible_python_interpreter }}"
register: _shebang_omitted_test
tags:
- noshebang