fix(handler): kubernetes restart when clause corrected

issue raised its head due to ansible update to 2.16.1

!15 fixes #16 nofusscomputing/projects/ansible/execution_environment#21 nofusscomputing/infrastructure/configuration-management/project-production!17
This commit is contained in:
2023-12-08 21:49:59 +09:30
parent f2c833893f
commit 26120c3e98

View File

@ -29,7 +29,7 @@
state: restarted state: restarted
listen: kubernetes_restart listen: kubernetes_restart
when: |- when: |-
{%- if not (
nfc_kubernetes_no_restart nfc_kubernetes_no_restart
or or
( (
@ -49,8 +49,5 @@
and and
nfc_kubernetes_no_restart_slave nfc_kubernetes_no_restart_slave
) )
-%} )
false
{%- else -%}
true
{%- endif %}