Merge pull request #1200 from mattymo/issue1190

Fix multiline condition for k8s check certs
pull/1186/head
Matthew Mosesohn 2017-04-04 15:48:05 +03:00 committed by GitHub
commit f8d44a8a88
1 changed files with 2 additions and 2 deletions

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