set python interpreter to 3 for verify-tests

Signed-off-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
This commit is contained in:
Sebastian Gumprich 2023-08-04 11:40:48 +02:00
parent c87fe430c7
commit 00b6556e33

View file

@ -7,14 +7,9 @@
https_proxy: "{{ lookup('env', 'https_proxy') | default(omit) }}" https_proxy: "{{ lookup('env', 'https_proxy') | default(omit) }}"
no_proxy: "{{ lookup('env', 'no_proxy') | default(omit) }}" no_proxy: "{{ lookup('env', 'no_proxy') | default(omit) }}"
tasks: tasks:
- name: include verification tasks - name: set ansible_python_interpreter to "/usr/bin/python3"
ansible.builtin.include_tasks: set_fact:
file: "{{ item }}" ansible_python_interpreter: "/usr/bin/python3"
loop:
- verify_tasks/sys_account_shell.yml
- verify_tasks/pw_ageing.yml
- verify_tasks/netrc.yml
- verify_tasks/ignore_home_folders.yml
- name: include PAM tests - name: include PAM tests
include_tasks: verify_tasks/pam.yml include_tasks: verify_tasks/pam.yml