Skip to content

Commit a999684

Browse files
/etc/pam.d/password-auth and /etc/pam.d/system-auth are not used by SUSE OS
So skip all Ansible steps related to those
1 parent 3a0fcff commit a999684

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

shared/macros/10-ansible.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,6 @@ The following macro remediates Audit syscall rule in :code:`/etc/audit/audit.rul
14621462
{{{ ansible_remove_pam_module_option_configuration('/etc/pam.d/password-auth','auth','','pam_faillock.so',parameter, rule_title=rule_title) | indent(4) }}}
14631463
when:
14641464
- result_faillock_conf_check.stat.exists
1465-
{{%- endif %}}
14661465

14671466
- name: {{{ rule_title }}} - Ensure the pam_faillock.so {{{ parameter }}} parameter in PAM files
14681467
block:
@@ -1542,6 +1541,7 @@ The following macro remediates Audit syscall rule in :code:`/etc/audit/audit.rul
15421541
{{%- endif %}}
15431542
when:
15441543
- not result_faillock_conf_check.stat.exists
1544+
{{%- endif %}}
15451545
{{%- endmacro -%}}
15461546

15471547
{{#
@@ -2395,7 +2395,7 @@ lines will be inserted at the beginning of the profile.
23952395

23962396
{{#
23972397

2398-
Set a sshd configuration parameter to a value for system with /usr - located default config
2398+
Set a sshd configuration parameter to a value for system with /usr - located default config
23992399

24002400
:parameter msg: Message to be set as Task Title, if not set the rule's title will be used instead
24012401
:type msg: str

0 commit comments

Comments
 (0)