mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-14 02:47:06 +00:00
set python interpreter to 3 for verify-tests
Signed-off-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
This commit is contained in:
parent
c87fe430c7
commit
00b6556e33
1 changed files with 3 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue