From fc24fcb71e8cb6bf71596df99e94482dd7ab9cf0 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Sat, 23 Apr 2022 00:03:10 +0200 Subject: [PATCH] Enable debugging again --- playbook.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/playbook.yml b/playbook.yml index 4568db5..4908199 100644 --- a/playbook.yml +++ b/playbook.yml @@ -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]