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