From aca7e34c64352ef7ff714ee4dde43bf372f46714 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Wed, 27 Mar 2024 08:15:22 -0600 Subject: [PATCH] more --- tests/tests_trusted_execution.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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