diff --git a/roles/etcd/tasks/check_certs.yml b/roles/etcd/tasks/check_certs.yml index 16b7d7c28..fe96ea01c 100644 --- a/roles/etcd/tasks/check_certs.yml +++ b/roles/etcd/tasks/check_certs.yml @@ -57,7 +57,7 @@ - name: "Check_certs | Set 'sync_certs' to true" set_fact: sync_certs: true - when: >- + when: |- {%- set certs = {'sync': False} -%} {% if gen_node_certs[inventory_hostname] or (not etcdcert_node.results[0].stat.exists|default(False)) or