Skip to content

Dynamic taints #143

Aug 19, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

No, this is not normal and not what I'd expect

This task writes the config file (which contains the taint): https://github.com/PyratLabs/ansible-role-k3s/blob/main/tasks/build/install-k3s-node.yml#L20-L28

When the file changes, this notifies the handlers to restart k3s.

Handlers are defined here: https://github.com/PyratLabs/ansible-role-k3s/blob/main/handlers/main.yml#L9-L21

Without further information, I can only assume that either:

  1. It was run once successfully, it was run a second time unsuccessfully when the file changed so the handler wasn't run and then run a third/forth/etc time when the config file was not changed so the handler didn't execute.
  2. k3s_server is being over-written in…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TodorSamardziski
Comment options

Answer selected by TodorSamardziski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants