Fix service and conditional
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
delay: 10
|
||||
|
||||
- name: Restart when config changed, but install already done
|
||||
service: k3s
|
||||
status: restarted
|
||||
when: "inventory_hostname != groups['kubernetes'][0] && !command.changed && config.changed"
|
||||
service:
|
||||
name: k3s
|
||||
status: restarted
|
||||
when: "inventory_hostname != groups['kubernetes'][0] and not command.changed and config.changed"
|
||||
|
||||
Reference in New Issue
Block a user