parent
742a1681ce
commit
5a5707159a
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@
|
|||
- 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
|
||||
{% if gen_node_certs[inventory_hostname] or
|
||||
(not kubecert_node.results[0].stat.exists|default(False)) or
|
||||
(not kubecert_node.results[1].stat.exists|default(False)) or
|
||||
(kubecert_node.results[1].stat.checksum|default('') != kubecert_master.files|selectattr("path", "equalto", kubecert_node.results[1].stat.path)|map(attribute="checksum")|first|default('')) -%}
|
||||
|
|
Loading…
Reference in a new issue