Debug: check pods
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Danny Bessems 2022-04-23 12:22:14 +02:00
parent fc24fcb71e
commit 8ede7fd1b2
1 changed files with 10 additions and 1 deletions

View File

@ -141,6 +141,15 @@
src: kube-vip.j2
dest: /var/lib/rancher/k3s/server/manifests/kube-vip.yml
- name: Initial node -- Wait for ???
# ansible.builtin.pause:
# seconds: 300
ansible.builtin.shell:
cmd: kubectl get pod -A
with_sequence:
count: 5
delay: 10
delegate_to: "{{ ansible_play_hosts[0] }}"
run_once: true
@ -168,7 +177,7 @@
- name: Debug systemd unit
ansible.builtin.shell:
cmd: systemctl status k3s -l --no-pager; journalctl -u k3s.service -b --no-pager
cmd: systemctl status k3s -l --no-pager; journalctl -u k3s.service --no-pager
register: debug
- ansible.builtin.debug:
var: debug.stdout