Introduce copy of k3s.yaml file to detect changes and skip control node changes.
It's a bit of a workaround, but I consider it a pragmatic solution to prevent Ansible from always reporting 4 changes, the k3s.yaml file is different from the ~/.kube/config.new file due to the changes the next 3 tasks make to it.
Changes
Introduce copy of k3s.yaml file to detect changes and skip control node changes. It's a bit of a workaround, but I consider it a pragmatic solution to prevent Ansible from always reporting 4 changes, the
k3s.yaml
file is different from the~/.kube/config.new
file due to the changes the next 3 tasks make to it.Before
After
(192.168.64.9 is the first server)
Linked Issues