mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
Remove TODOs in code.
This commit is contained in:
parent
86ce85e819
commit
f8eb97a253
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user