diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-08-16 23:57:23 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-08-16 23:57:23 +0200 |
commit | bffc778a593cf168d739574538a9e049b34c8177 (patch) | |
tree | caf47539d4e7e9cc19ac106a7d6d0f306dc7b3d7 /roles/kubernetes/kubeadm | |
parent | kubernetes/kubeadm: fix node pruning by adding a node label for ansible inven... (diff) |
kubernetes/kubreadm: ignore changes of kubeadm join configs
Diffstat (limited to 'roles/kubernetes/kubeadm')
-rw-r--r-- | roles/kubernetes/kubeadm/control-plane/tasks/secondary.yml | 2 | ||||
-rw-r--r-- | roles/kubernetes/kubeadm/worker/tasks/main.yml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/kubernetes/kubeadm/control-plane/tasks/secondary.yml b/roles/kubernetes/kubeadm/control-plane/tasks/secondary.yml index 4418101a..242293ea 100644 --- a/roles/kubernetes/kubeadm/control-plane/tasks/secondary.yml +++ b/roles/kubernetes/kubeadm/control-plane/tasks/secondary.yml @@ -30,7 +30,7 @@ src: kubeadm-join.config.j2 dest: /etc/kubernetes/kubeadm.config mode: 0600 - register: kubeadm_config + changed_when: False - name: join kubernetes secondary control-plane node and store log block: diff --git a/roles/kubernetes/kubeadm/worker/tasks/main.yml b/roles/kubernetes/kubeadm/worker/tasks/main.yml index 1975313b..b6694ede 100644 --- a/roles/kubernetes/kubeadm/worker/tasks/main.yml +++ b/roles/kubernetes/kubeadm/worker/tasks/main.yml @@ -4,6 +4,7 @@ src: kubeadm.config.j2 dest: /etc/kubernetes/kubeadm.config mode: 0600 + changed_when: False - name: join kubernetes worker node and store log block: |