Fix multiline condition for k8s check certs

Fixes #1190
This commit is contained in:
Matthew Mosesohn 2017-04-03 17:44:03 +03:00
parent bd7b91b07a
commit 620944b052

View file

@ -54,7 +54,7 @@
- name: "Check_certs | Set 'sync_certs' to true" - name: "Check_certs | Set 'sync_certs' to true"
set_fact: set_fact:
sync_certs: true sync_certs: true
when: >- when: |-
{%- set certs = {'sync': False} -%} {%- set certs = {'sync': False} -%}
{% if gen_node_certs[inventory_hostname] or {% if gen_node_certs[inventory_hostname] or
(not kubecert_node.results[0].stat.exists|default(False)) or (not kubecert_node.results[0].stat.exists|default(False)) or