diff --git a/tests/tests_trusted_execution.yml b/tests/tests_trusted_execution.yml index 55c1ab3..fba85cc 100644 --- a/tests/tests_trusted_execution.yml +++ b/tests/tests_trusted_execution.yml @@ -50,7 +50,8 @@ - "{{ __test_fpd_exe2 }}" vars: __python: "{{ '/usr/libexec/platform-python' - if ansible_facts['distribution_major_version'] == '8' + if (ansible_facts['distribution_major_version'] == '8' and + ansible_facts['os_family'] == 'RedHat') else '/usr/bin/python' }}" - name: Create a new user