From bfa2b81c0400978d1ba769884850cb62fe76bed3 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Tue, 24 Nov 2020 15:15:55 +1300 Subject: [PATCH] Fixed broken loop --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index f9a189a..944a9f6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,15 +1,15 @@ --- - name: Find trusted root certificates to add - find: - paths: /var/log + paths: files/ca_certs register: ca_cert_files - name: Copy public certificate files copy: - src: files/ca_certs/ + src: "{{ item.path }}" dest: /etc/pki/ca-trust/source/anchors/ become: true - with_items: ca_cert_files + with_items: ca_cert_files.files when: ca_cert_files.matched > 0 notify: Update Trust Store