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

@@ -255,7 +255,7 @@
mode = oct(0o777 & ~umask)
print(str(mode).replace('o', ''))
args:
executable: "{{ ansible_facts.python.executable }}"
executable: "{{ ansible_python_interpreter }}"
register: user_login_defs_umask
- name: validate that user home dir is created