From 6da29ddb7b2d0c468c84b1686dcd2755f3fa9779 Mon Sep 17 00:00:00 2001 From: Anton Nerozya Date: Thu, 29 Jun 2017 19:21:06 +0200 Subject: [PATCH] FIX: Unneded (extra) cycles in some tasks --- roles/etcd/tasks/sync_etcd_node_certs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/etcd/tasks/sync_etcd_node_certs.yml b/roles/etcd/tasks/sync_etcd_node_certs.yml index c4a95d034..cd1772e41 100644 --- a/roles/etcd/tasks/sync_etcd_node_certs.yml +++ b/roles/etcd/tasks/sync_etcd_node_certs.yml @@ -20,6 +20,7 @@ etcd_node_certs_needed: "{{ etcd_node_certs_needed|default([]) + [item.path] }}" with_items: "{{ sync_file_results|d([]) }}" when: item.no_srcs|bool + run_once: true - name: sync_etcd_node_certs | Unset sync_file_results after etcd node certs set_fact: