From 69a82c2397626ba32e47298b4d109ce7d1f5c80b Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Thu, 24 Oct 2019 23:26:00 +0200 Subject: [PATCH] playbooks/dns: Restricted gathering of ssh keys to public systems --- playbooks/dns.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/dns.yml b/playbooks/dns.yml index a0733e7..0ac2fe1 100644 --- a/playbooks/dns.yml +++ b/playbooks/dns.yml @@ -8,7 +8,7 @@ delegate_to: localhost register: ssh_key_dns_fpr_raw changed_when: False - loop: "{{ groups['all'] }}" + loop: "{{ groups['public_available'] }}" - name: Remap ssh host key dns fingerprints set_fact: ssh_key_dns_fpr_map: "{{ ssh_key_dns_fpr_raw.results | items2dict(key_name='item', value_name='stdout') }}"