Blame SOURCES/scap-security-guide-0.1.45-fix_ansible_sssd_ssh_known_hosts_timeout.patch

0d5c10
From 25af71b8262a2a320652feb2d47235f81f2aa213 Mon Sep 17 00:00:00 2001
0d5c10
From: Gabriel Becker <ggasparb@redhat.com>
0d5c10
Date: Tue, 21 May 2019 17:15:21 +0200
0d5c10
Subject: [PATCH] Use right variable for ansible remediation in
0d5c10
 sssd_ssh_known_hosts_timeout rule.
0d5c10
0d5c10
---
0d5c10
 .../sssd/sssd_ssh_known_hosts_timeout/ansible/shared.yml      | 4 ++--
0d5c10
 1 file changed, 2 insertions(+), 2 deletions(-)
0d5c10
0d5c10
diff --git a/linux_os/guide/services/sssd/sssd_ssh_known_hosts_timeout/ansible/shared.yml b/linux_os/guide/services/sssd/sssd_ssh_known_hosts_timeout/ansible/shared.yml
0d5c10
index d7f246e..92bdf8f 100644
0d5c10
--- a/linux_os/guide/services/sssd/sssd_ssh_known_hosts_timeout/ansible/shared.yml
0d5c10
+++ b/linux_os/guide/services/sssd/sssd_ssh_known_hosts_timeout/ansible/shared.yml
0d5c10
@@ -3,7 +3,7 @@
0d5c10
 # strategy = unknown
0d5c10
 # complexity = low
0d5c10
 # disruption = medium
0d5c10
-- (xccdf-var sshd_idle_timeout_value)
0d5c10
+- (xccdf-var var_sssd_ssh_known_hosts_timeout)
0d5c10
 
0d5c10
 - name: "Test for domain group"
0d5c10
   shell: grep '\s*\[domain\/[^]]*]' /etc/sssd/sssd.conf
0d5c10
@@ -34,7 +34,7 @@
0d5c10
     dest: /etc/sssd/sssd.conf
0d5c10
     section: ssh
0d5c10
     option: ssh_known_hosts_timeout
0d5c10
-    value: "{{ sshd_idle_timeout_value }}"
0d5c10
+    value: "{{ var_sssd_ssh_known_hosts_timeout }}"
0d5c10
     create: yes
0d5c10
     mode: 0600
0d5c10
   tags: