From 7cbbf635a844a972982031e79aaa7b2654a809db Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 13 May 2025 11:09:02 +0200 Subject: [PATCH] =?UTF-8?q?facts:=20don=E2=80=99t=20write=20passwords=20to?= =?UTF-8?q?=20stdout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/facts/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/facts/tasks/main.yml b/roles/facts/tasks/main.yml index 5dff60c..beb6d93 100644 --- a/roles/facts/tasks/main.yml +++ b/roles/facts/tasks/main.yml @@ -24,6 +24,7 @@ delegate_to: localhost set_fact: password: '{{ lookup("passwordstore", ("vm/" if is_virtual else "host/")~inventory_hostname, returnall=true, missing="empty") | from_yaml }}' + no_log: true # Make expensive lookups to NetBox once for later reference by any host. - when: lookup("env", "NETBOX_API") != ""