fixup
This commit is contained in:
parent
cd2be581db
commit
bb1238d6ac
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@
|
||||||
set_fact:
|
set_fact:
|
||||||
_: "{% if inventory_hostname in sync_file_srcs %}{{ sync_file_srcs.remove(inventory_hostname) }}{% endif %}"
|
_: "{% if inventory_hostname in sync_file_srcs %}{{ sync_file_srcs.remove(inventory_hostname) }}{% endif %}"
|
||||||
when:
|
when:
|
||||||
- host_item in play_hosts
|
- inventory_hostname in play_hosts
|
||||||
- sync_file_srcs|d([])|length > 1
|
- sync_file_srcs|d([])|length > 1
|
||||||
- inventory_hostname != sync_file_srcs|first
|
- inventory_hostname != sync_file_srcs|first
|
||||||
- sync_file_stat.stat.get("checksum") != hostvars[sync_file_srcs|first]["sync_file_stat"]["stat"]["checksum"]
|
- sync_file_stat.stat.get("checksum") != hostvars[sync_file_srcs|first]["sync_file_stat"]["stat"]["checksum"]
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
set_fact:
|
set_fact:
|
||||||
_: "{% if inventory_hostname in sync_file_srcs %}{{ sync_file_srcs.remove(inventory_hostname) }}{% endif %}"
|
_: "{% if inventory_hostname in sync_file_srcs %}{{ sync_file_srcs.remove(inventory_hostname) }}{% endif %}"
|
||||||
when:
|
when:
|
||||||
- host_item in play_hosts
|
- inventory_hostname in play_hosts
|
||||||
- sync_file_is_cert|d()
|
- sync_file_is_cert|d()
|
||||||
- sync_file_key_srcs|d([])|length > 1
|
- sync_file_key_srcs|d([])|length > 1
|
||||||
- inventory_hostname != sync_file_key_srcs|first
|
- inventory_hostname != sync_file_key_srcs|first
|
||||||
|
|
Loading…
Reference in a new issue