mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
Does it work at all on centos?
This commit is contained in:
parent
d752819b3f
commit
57292bdfc8
@ -25,21 +25,21 @@
|
|||||||
{{ kubernetes_kubeadm_init_extra_opts }}
|
{{ kubernetes_kubeadm_init_extra_opts }}
|
||||||
register: kubeadmin_init
|
register: kubeadmin_init
|
||||||
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)
|
||||||
failed_when: false # DELETEME START ---
|
# failed_when: false # DELETEME START ---
|
||||||
- name: Test
|
# - name: Test
|
||||||
command: systemctl status kubelet
|
# command: systemctl status kubelet
|
||||||
changed_when: false
|
# changed_when: false
|
||||||
register: systemctl_result
|
# register: systemctl_result
|
||||||
|
|
||||||
- debug: var=systemctl_result
|
# - debug: var=systemctl_result
|
||||||
|
|
||||||
- name: Test 2
|
# - name: Test 2
|
||||||
command: journalctl --no-pager -xeu kubelet
|
# command: journalctl --no-pager -xeu kubelet
|
||||||
changed_when: false
|
# changed_when: false
|
||||||
register: journalctl_result
|
# register: journalctl_result
|
||||||
|
|
||||||
- debug: var=journalctl_result
|
# - debug: var=journalctl_result
|
||||||
# DELETEME END ---
|
# # DELETEME END ---
|
||||||
|
|
||||||
- name: Print the init output to screen.
|
- name: Print the init output to screen.
|
||||||
debug:
|
debug:
|
||||||
|
Loading…
Reference in New Issue
Block a user