This commit is contained in:
parent
fc24fcb71e
commit
8ede7fd1b2
11
playbook.yml
11
playbook.yml
@ -141,6 +141,15 @@
|
|||||||
src: kube-vip.j2
|
src: kube-vip.j2
|
||||||
dest: /var/lib/rancher/k3s/server/manifests/kube-vip.yml
|
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] }}"
|
delegate_to: "{{ ansible_play_hosts[0] }}"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
@ -168,7 +177,7 @@
|
|||||||
|
|
||||||
- name: Debug systemd unit
|
- name: Debug systemd unit
|
||||||
ansible.builtin.shell:
|
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
|
register: debug
|
||||||
- ansible.builtin.debug:
|
- ansible.builtin.debug:
|
||||||
var: debug.stdout
|
var: debug.stdout
|
||||||
|
Loading…
Reference in New Issue
Block a user