From 00369303deca217ee7a5694f21ae7c39e0b49959 Mon Sep 17 00:00:00 2001 From: Alex Barcelo Date: Fri, 3 May 2019 21:21:42 +0200 Subject: [PATCH] Fixing `msg` parameter for `debug` module (#4702) According to [`debug` module documentation](https://docs.ansible.com/ansible/latest/modules/debug_module.html?highlight=msg), the correct parameter name is `msg`. With the previous `message` parameter name I was getting FAILED messages while ansible was trying to debug previous FAILED tasks. --- roles/kubernetes/kubeadm/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/kubeadm/tasks/main.yml b/roles/kubernetes/kubeadm/tasks/main.yml index 373362427..01bc51666 100644 --- a/roles/kubernetes/kubeadm/tasks/main.yml +++ b/roles/kubernetes/kubeadm/tasks/main.yml @@ -99,7 +99,7 @@ - name: Display kubeadm join stderr if any when: kubeadm_join is failed debug: - message: | + msg: | Joined with warnings {{ kubeadm_join.stderr_lines }}