From 0abfd65e0bc94c2b9f72f45a511c051bb265ac17 Mon Sep 17 00:00:00 2001 From: Alexander Weidinger Date: Fri, 11 May 2018 16:46:07 +0200 Subject: [PATCH] pillar/known_hosts_salt_ssh: clear cache in run() --- _pillar/known_hosts_salt_ssh.sls | 1 + 1 file changed, 1 insertion(+) diff --git a/_pillar/known_hosts_salt_ssh.sls b/_pillar/known_hosts_salt_ssh.sls index dcf60a5..3dac585 100644 --- a/_pillar/known_hosts_salt_ssh.sls +++ b/_pillar/known_hosts_salt_ssh.sls @@ -102,6 +102,7 @@ def host_keys(minion_id): return '' def run(): + cache = {} # clear the cache config = { 'public_ssh_host_keys': {}, 'public_ssh_host_names': {}