From 09f4aca37f620b021eeaa7520df761134b75cc00 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Sun, 19 Jan 2020 14:02:41 -0500 Subject: [PATCH] add journalctl -ex to error output if ansible run fails --- bubble-server/src/main/resources/ansible/install_local.sh.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bubble-server/src/main/resources/ansible/install_local.sh.hbs b/bubble-server/src/main/resources/ansible/install_local.sh.hbs index 7674f344..16c5f053 100644 --- a/bubble-server/src/main/resources/ansible/install_local.sh.hbs +++ b/bubble-server/src/main/resources/ansible/install_local.sh.hbs @@ -54,4 +54,4 @@ cd "${ANSIBLE_DIR}" && \ . ./venv/bin/activate && \ pip3 install ansible && \ bash -c "ansible-playbook ${SSH_OPTIONS} --inventory ./hosts ./playbook.yml" \ -|| die "Error running ansible" +|| die "Error running ansible. journalctl -xe = $(journalctl -xe)"