Merge pull request #247 from paulczar/check_certs_defaults
Fix issue with check_certs playbook
This commit is contained in:
commit
d9dca20d7f
1 changed files with 3 additions and 3 deletions
|
@ -28,8 +28,8 @@
|
|||
when: >-
|
||||
{%- set certs = {'sync': False} -%}
|
||||
{%- for server in play_hosts
|
||||
if (not hostvars[server].kubecert.stat.exists) or
|
||||
(hostvars[server].kubecert.stat.checksum != kubecert_master.stat.checksum|default('')) -%}
|
||||
if (not hostvars[server].kubecert.stat.exists|default(False)) or
|
||||
(hostvars[server].kubecert.stat.checksum|default('') != kubecert_master.stat.checksum|default('')) -%}
|
||||
{%- set _ = certs.update({'sync': True}) -%}
|
||||
{%- endfor -%}
|
||||
{{ certs.sync }}
|
||||
|
|
Loading…
Reference in a new issue