Skip to content
Snippets Groups Projects
Commit 58acbe7c authored by Aleksandr Didenko's avatar Aleksandr Didenko
Browse files

Fix multiline when condition in sync_certs task

Folded style in multiline 'when' condition causes error with
unexpected ident. Changing it to literal style should fix
the issue.

Closes #1190
parent c2c334d2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment