From 29daceb481134ae5ec6312af950b9dc34dbea475 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Thu, 15 Sep 2022 12:22:35 -0500 Subject: [PATCH] Debugging. --- tasks/control-plane-setup.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tasks/control-plane-setup.yml b/tasks/control-plane-setup.yml index 347e5cc..a198ef8 100644 --- a/tasks/control-plane-setup.yml +++ b/tasks/control-plane-setup.yml @@ -25,6 +25,21 @@ {{ kubernetes_kubeadm_init_extra_opts }} register: kubeadmin_init when: (not kubernetes_init_stat.stat.exists) and (kubernetes_ignore_preflight_errors is defined) + failed_when: false # DELETEME START --- +- name: Test + command: systemctl status kubelet + register: systemctl_result + +- debug: var=systemctl_result + +- name: Test 2 + command: journalctl --no-pager -xeu kubelet + register: journalctl_result + +- debug: var=journalctl_result + +- fail: +# DELETEME END --- - name: Print the init output to screen. debug: