Cleanup ansible_python_interpreter
ansible_pyhton_interpreter is set to auto, it's not needed anywhere now. Change-Id: I204db302995d779d390444f3f6a865ead750fed5
This commit is contained in:
parent
260b23b9b6
commit
17ccd9f06c
@ -16,9 +16,6 @@
|
||||
- name: Playbook for role testing
|
||||
hosts: localhost
|
||||
pre_tasks:
|
||||
- name: Set ansible_python_interpreter
|
||||
set_fact:
|
||||
ansible_python_interpreter: "/usr/bin/{{ (ansible_distribution == 'CentOS' and ansible_distribution_version is version('8', '<')) | ternary('python2', 'python3') }}"
|
||||
- name: Ensure apt cache is updated before testing
|
||||
apt:
|
||||
update_cache: yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user