Remove TODOs in code.

This commit is contained in:
Jeff Geerling 2022-10-26 17:26:42 -05:00
parent 86ce85e819
commit f8eb97a253

View File

@ -24,23 +24,8 @@
--ignore-preflight-errors={{ kubernetes_ignore_preflight_errors }} --ignore-preflight-errors={{ kubernetes_ignore_preflight_errors }}
{{ kubernetes_kubeadm_init_extra_opts }} {{ kubernetes_kubeadm_init_extra_opts }}
register: kubeadmin_init register: kubeadmin_init
failed_when: false # TODO REMOVE
when: (not kubernetes_init_stat.stat.exists) and (kubernetes_ignore_preflight_errors is defined) when: (not kubernetes_init_stat.stat.exists) and (kubernetes_ignore_preflight_errors is defined)
# TODO REMOVE
- name: Print kubeadm init output
debug: var=kubeadmin_init
# TODO REMOVE
- name: Get kubelet status
command: journalctl --no-pager -xeu kubelet
register: journalctl
changed_when: false
# TODO REMOVE
- name: Print kubelet status
debug: var=journalctl
- name: Print the init output to screen. - name: Print the init output to screen.
debug: debug:
var: kubeadmin_init.stdout var: kubeadmin_init.stdout