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