Skip to content

Commit

Permalink
disable pam tests (dev-sec#691)
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
Co-authored-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
  • Loading branch information
rndmh3ro and Sebastian Gumprich authored Aug 7, 2023
1 parent ca5484f commit e3273a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions molecule/os_hardening/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
- verify_tasks/netrc.yml
- verify_tasks/ignore_home_folders.yml

- name: include PAM tests
include_tasks: verify_tasks/pam.yml
when: ansible_facts.distribution in ['Debian', 'Ubuntu'] or ansible_facts.os_family == 'RedHat'
# temp. disabled - https://github.com/dev-sec/ansible-collection-hardening/issues/690
# - name: include PAM tests
# include_tasks: verify_tasks/pam.yml
# when: ansible_facts.distribution in ['Debian', 'Ubuntu'] or ansible_facts.os_family == 'RedHat'

- name: include YUM tests
include_tasks: verify_tasks/yum.yml
Expand Down
7 changes: 4 additions & 3 deletions molecule/os_hardening_vm/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
no_proxy: "{{ lookup('env', 'no_proxy') | default(omit) }}"
tasks:

- name: include PAM tests
include_tasks: verify_tasks/pam.yml
when: ansible_facts.distribution in ['Debian', 'Ubuntu'] or ansible_facts.os_family == 'RedHat'
# temp. disabled - https://github.com/dev-sec/ansible-collection-hardening/issues/690
# - name: include PAM tests
# include_tasks: verify_tasks/pam.yml
# when: ansible_facts.distribution in ['Debian', 'Ubuntu'] or ansible_facts.os_family == 'RedHat'

- name: include YUM tests
include_tasks: verify_tasks/yum.yml
Expand Down

0 comments on commit e3273a8

Please sign in to comment.