From f0f85d797c73b3d76f20782ab16bbf73ed64e1f6 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 18 Aug 2018 17:54:21 +0200 Subject: [PATCH] fix nested loop --- tasks/tls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/tls.yml b/tasks/tls.yml index d4aed97..d98a11b 100644 --- a/tasks/tls.yml +++ b/tasks/tls.yml @@ -44,7 +44,7 @@ when: pve_tls_source_use_content - name: Copy cert/key to pve filesystem - command: "/bin/cp -rf {{ item.dest }} /etc/pve/nodes/{{ item[1] }}/{{ item[0].dest | basename }}" + command: "/bin/cp -rf {{ item[0].dest }} /etc/pve/nodes/{{ item[1] }}/{{ item[0].dest | basename }}" when: item[0].changed changed_when: item[0].changed with_nested: