Skip to content

Commit

Permalink
set python interpreter to 3 for verify-tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
  • Loading branch information
Sebastian Gumprich committed Aug 4, 2023
1 parent c87fe43 commit 00b6556
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions molecule/os_hardening/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,9 @@
https_proxy: "{{ lookup('env', 'https_proxy') | default(omit) }}"
no_proxy: "{{ lookup('env', 'no_proxy') | default(omit) }}"
tasks:
- name: include verification tasks
ansible.builtin.include_tasks:
file: "{{ item }}"
loop:
- verify_tasks/sys_account_shell.yml
- verify_tasks/pw_ageing.yml
- verify_tasks/netrc.yml
- verify_tasks/ignore_home_folders.yml
- name: set ansible_python_interpreter to "/usr/bin/python3"
set_fact:
ansible_python_interpreter: "/usr/bin/python3"

- name: include PAM tests
include_tasks: verify_tasks/pam.yml
Expand Down

0 comments on commit 00b6556

Please sign in to comment.