FIX: Unneded (extra) cycles in some tasks

This commit is contained in:
Anton Nerozya 2017-06-29 19:21:06 +02:00
parent 7140b40226
commit 6da29ddb7b

View file

@ -20,6 +20,7 @@
etcd_node_certs_needed: "{{ etcd_node_certs_needed|default([]) + [item.path] }}" etcd_node_certs_needed: "{{ etcd_node_certs_needed|default([]) + [item.path] }}"
with_items: "{{ sync_file_results|d([]) }}" with_items: "{{ sync_file_results|d([]) }}"
when: item.no_srcs|bool when: item.no_srcs|bool
run_once: true
- name: sync_etcd_node_certs | Unset sync_file_results after etcd node certs - name: sync_etcd_node_certs | Unset sync_file_results after etcd node certs
set_fact: set_fact: