From c28b180f403f6aff2c9f7bd1555d0c4b31374dbf Mon Sep 17 00:00:00 2001 From: atsikham Date: Thu, 21 Oct 2021 14:57:23 +0200 Subject: [PATCH] Fixed apply for include in include --- .../roles/upgrade/tasks/kubernetes/upgrade-node.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ansible/playbooks/roles/upgrade/tasks/kubernetes/upgrade-node.yml b/ansible/playbooks/roles/upgrade/tasks/kubernetes/upgrade-node.yml index cbc37725ac..b7fdb06cb1 100644 --- a/ansible/playbooks/roles/upgrade/tasks/kubernetes/upgrade-node.yml +++ b/ansible/playbooks/roles/upgrade/tasks/kubernetes/upgrade-node.yml @@ -48,7 +48,8 @@ include_tasks: utils/uncordon.yml - name: k8s/node | Verify component versions and node status - include_tasks: verify-upgrade.yml - apply: - environment: - KUBECONFIG: /etc/kubernetes/kubelet.conf + include_tasks: + file: verify-upgrade.yml + apply: + environment: + KUBECONFIG: /etc/kubernetes/kubelet.conf