From c854480484d73becefe244f54fa7cbc3a7f293e4 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Mon, 20 Jan 2020 00:24:43 -0500 Subject: [PATCH] only print 50 lines of journalctl --- 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 16c5f053..e9e1cd14 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. journalctl -xe = $(journalctl -xe)" +|| die "Error running ansible. journalctl -xe = $(journalctl -xe | tail -n 50)"