Enable debugging again
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2022-04-23 00:03:10 +02:00
parent feee9c10a3
commit fc24fcb71e
1 changed files with 7 additions and 7 deletions

View File

@ -164,13 +164,13 @@
K3S_TOKEN: "{{ cluster.token }}" # (hostvars[ansible_play_hosts[0]]).cluster.token
K3S_URL: "{{ 'https://' + ( cluster.virtualip | ansible.utils.ipaddr('address') ) + ':6443' }}"
# rescue:
rescue:
# - name: Debug systemd unit
# ansible.builtin.shell:
# cmd: systemctl status k3s -l --no-pager; journalctl -u k3s.service -b --no-pager
# register: debug
# - ansible.builtin.debug:
# var: debug.stdout
- name: Debug systemd unit
ansible.builtin.shell:
cmd: systemctl status k3s -l --no-pager; journalctl -u k3s.service -b --no-pager
register: debug
- ansible.builtin.debug:
var: debug.stdout
when: inventory_hostname != ansible_play_hosts[0]