Skip to content

Commit

Permalink
fix python
Browse files Browse the repository at this point in the history
  • Loading branch information
richm committed Mar 28, 2024
1 parent 64e44c9 commit dc7a3b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/tests_trusted_execution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
- name: Create shell executables
copy:
content: |
#!/usr/bin/python
#!{{ __python }}
# this is item {{ item }}
import sys
sys.exit(0)
Expand All @@ -48,6 +48,10 @@
loop:
- "{{ __test_fpd_exe1 }}"
- "{{ __test_fpd_exe2 }}"
vars:
__python: "{{ '/usr/libexec/platform-python'
if ansible_facts['distribution_major_version'] == '8'
else '/usr/bin/python' }}"

- name: Create a new user
user:
Expand Down

0 comments on commit dc7a3b0

Please sign in to comment.